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