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

Re: Complex tag creation performance

From: John Allen <john.allen_at_moyville.net>
Date: 2006-06-27 19:28:40 CEST

Do the tagging using server side URLs not WC URLs.

This will make it almost instanteous

On Tuesday 27 June 2006 11:29, Robbie Gibson wrote:
> Hi,
> We have a simple SVN setup where everybody works in the trunk. When we
> want to put our work into the production system we do a selective update of
> the files concerned - that is, we work on a file-by-file basis and hardly
> ever do a global "svn up" on the production systems. To keep track of
> production versions we create a complex tag with svn cp WC URL. This works
> fine, except that after a few months we started noticing a slowdown in the
> tag creation.
> Investigations showed that the "svn cp" was checking the version of every
> file to find the oldest revision and then using that as the basis for the
> tag, plus changes since. As we never do a global update and some files
> seldom change, the oldest revision could be 6 months ago - even if every
> file is completely up to date!
> To get over the problem I have written a small script which "updates" files
> with no pending changes to the latest version (i.e. my script updates the
> metadata for up-to-date files and directories). It's a bit slow but it
> seems to help. I have three questions:
> 1) Is this behaviour described by design, or is it a bug?
> 2) Does anybody have a better suggestion for how to resolve my problem?
> Thanks,
> R

John Allen,                          mailto:john.allen@moyville.net
MandrakeClub Silver Member.          http://www.moyville.net
Site of the day: http://www.kde.ie/
Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-12mdk
 18:27:30 up  1:33,  4 users,  load average: 0.09, 0.24, 0.24
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 27 19:30:27 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.