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

RE: svn edit

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Sun, 26 Oct 2008 12:03:44 -0400

> > When you want to edit a file, you run 'svn edit file', which makes
> the
> > file read-write and registers this fact in sqlite. Then, when you
> run
>
> If I would be required to call svn [edit] I would stop using Subversion

You won't be forced to use it, it's optional, for the purpose of gaining performance. By comparison, getting status on a directory that takes 5-10 mins in svn will be nearly instant (less than 1 sec) on perforce. That's the performance gain that svn will be able to achieve by using "svn edit"

> Isn't this a problem of the filesystem if comparing file modification
> times is
> so slow? Is there really no filesystem (Reiser, ext3/4, XFS, ...) which

If you have tens of thousands of versioned files in your working copy, regardless of how fast your filesystem is, it takes a significant time to walk the tree scanning for stuff that changed. Which must be done on every "svn status" and "svn update" etc.

For my users, it takes 5-10 minutes every time they "svn status" their WC. As long as the cache is cold (and it usually is because the system is busy working on peoples' files too besides just versioning them). On a warm cache it's 20-30 sec, but there's no reasonable way to keep the cache warm.

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin_at_patni.com and delete this mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-26 17:04:14 CET

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.