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

cheap copies

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-08 19:04:52 CET

I've had a thought on my mind for a long time, and I'm craving
resolution.

Whenever we make a branch or tag (svn cp URL URL), it seems to take a
disconcertingly long time for the commit to finish. I mean, it takes
*noticeably* longer than when I simply commit a few file
changes... like 10 seconds instead of 2 or 3.

Something seems to be interfering with our magic O(1) copies.

Maybe it's something within libsvn_fs, like walking the tree to make
every node immutable? Maybe the post-commit-hook script is doing a
full tree walk to discover it's a copy? There's an O(N) thing
happening somewhere, and I'm about a hair away from filing an issue.

Any thoughts?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 8 19:27:08 2002

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.