[cvsnt] performence problem

Bo Berglund Bo.Berglund at system3r.se
Thu Feb 24 07:54:15 GMT 2005


CVS is designed to operate *faster* if the user operates on HEAD.
In teh RCS files the complete contents of the HEAD revision is always stored as-is,
which means that if you check out HEAD it is simple for CVS to grab and send that.
All other revisions are stored as backwards deltas from HEAD so to retrieve say a
branch that was made off revision 1.32 when HEAd is at 1.342 and where there are
27 revisions on the branch means that CVS has to get HEAD, then go backwards 310
revisions until the branch revision, then forward 27 deltas on the branch to
wind up at the tip of the branch. Lots of diffs to apply...

That is why a branch operation is always slower than HEAD.

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Stéphane Nicoll
Sent: den 24 februari 2005 08:26
To: cvsnt at cvsnt.org; John Peacock
Subject: RE: [cvsnt] performence problem


Is update on the HEAD slower?




More information about the cvsnt mailing list