[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs branch tag performance - fix offering

From: Mark D. Baushke
Subject: Re: cvs branch tag performance - fix offering
Date: Wed, 24 Nov 2004 11:42:02 -0800

Hash: SHA1

Adrian West <address@hidden> writes:

> I  have a fairly large project being managed with cvs very
> successfully (thanks).
> A problem has been the performance of branch tag creation, which was
> taking half an hour or more.
> I have a fix for this now. It's not expecially elegant, and will only
> affect large projects using lots of symbols, so submitting it directly
> may not be appropriate. It if for 11.14, which is what we happen to be
> using at the moment.
> If it will help you the details, and some analysis of our last few
> months operation with it are at:

Such a patch will not be considered for cvs 1.11.x as we do not want to
destabalize that release, but some kind of performance improvement may
be possible for cvs 1.12.x.

I only took a quick look. This patch would likely have problems for
users that wish to use CVSup with CVS_LOCAL_BRANCH support (added to cvs
1.12.9). I suspect you may wish to have the starting magic branch number
for your search be something that is configurable in the CVSROOT/config

Your patch also brings up an interesting concern... what happens when
you have enough branches that rev_num wraps negative? It has mostly been
considered that 2^30 branches for a given revision would be enough. If
that is not true, it would be good to know it...

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]