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

Re: Improving the performance of libsvn_wc for checkouts/updates/switches

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-05-22 20:57:59 CEST

Josh Pieper <jjp@pobox.com> writes:

> Philip Martin wrote:
>>
>> I don't know. How does it handle sub-dirs? Are you going to
>> accumulate "pending" log files for the entire directory hierarchy?
>
> There is one log-file per directory. They are only kept around as
> long as the editor has the directory open. Since the editor is
> depth-first, it should at most be the tip directory log file and those
> of the parent paths down to the root.

What I observe with the current code is typically

         A dir
         A dir/file
         A dir/subdir
         A dir/subdir/file
         A dir/another_file

It's true that once subdir is added it gets all its contents before
any more items are added to dir, however that happens during the dir
update so "pending" log files will accumulate all the way down the
heirarchy. Is that going to be a problem? Does the dir/subdir
creation get accumulated in the dir log file? Can dir/subdir sensibly
have a log file before the dir log file has been run?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 22 20:58:17 2004

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.