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

Re: svn commit: r11439 - trunk/subversion/libsvn_client

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-28 01:10:06 CEST

Peter N. Lundblad wrote:
> ------------------------------------------------------------------------
> r11439 | lundblad | 2004-10-16 21:42:30 +0100 (Sat, 16 Oct 2004) | 6 lines
>
> Fix slow "svn st" where the targets are files by not locking the whole anchor
> tree.
>
> * libsvn_client/status.c (svn_client_status): Don't lock the whole directory
> hierarchy if not necessary.

In the log message we give the path to each file relative to the root of the
source tree - thus it should be "subversion/libsvn_client/status.c".

> + if (update)
> + {
[...]
> + }
> + else
> + {
[...]
> + err = svn_wc_adm_open2 (&target_access, anchor_access, path,
> + FALSE, (descend || update) ? -1 : 1, pool);

The variable "update" is redundant in that test since it is known to be false.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 28 01:10:26 2004

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