[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem upgrading working copy depth

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-09-20 22:26:39 CEST

This was fixed in r26688, just in case anyone was tracking. (I
committed it, but Vlad Georgescu actually wrote the patch.)

-Karl

Alexander Sinyushkin <Alexander.Sinyushkin@svnkit.com> writes:
> Hi devs,
>
> While playing with depth_tests-15 I noticed a strange thing: if I try to
> invoke the command 'svn up --depth files' within the root of a working
> copy that has been checked out with --depth = empty I get the expected
> depth after all (files). But If I just go somewhere else (for example
> one or more levels upper) and invoke 'svn up --depth files
> /path/to/wc_root' (providing an absolute path) the depth does not change
> (it is still 'empty'), although I do receive files during update.
>
> I think it is this place in update_editor.c in function
> complete_directory(...) which is not accurate:
>
> /* After a depth upgrade the entry must reflect the new depth.
> Upgrading to infinity changes the depth of *all* directories,
> upgrading to something else only changes the target. */
> if (eb->depth == svn_depth_infinity
> || (strcmp(path, eb->target) == 0 && eb->depth > entry->depth))
> entry->depth = eb->depth;
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 20 22:26:52 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.