[RFC] Workingstyle of different VCS systems

Jakob Petsovits jpetso at gmx.at
Mon Apr 9 14:01:34 UTC 2007


On Thursday, 5. April 2007, Andreas Pakulat wrote:
> state - get the state of a local file, currently possible state flags
> 	are:
> 	Added, Uptodate, Modified, Conflict (between VCS-version and
> 	local version), Sticky (some CVS thing, no idea what it means),

CVS uses sticky tags when you check a directory of a specific branch out.
That is, if you say 'cvs co -r [BRANCH] [repo]' then all files that you check 
out are marked with a sticky tag called [BRANCH]. Which means that CVS uses 
sticky tags to remember which branch should be worked on when you update and 
commit your files.

Also, sticky tags get lost when you 'cvs update -r [ANOTHER-BRANCH]', and from 
that point on your working copy is pretty much fucked up, and you commit 
files into wrong branches and all kinds of problematic stuff.
In order to guard unsuspecting users from causing chaos in their repositories, 
a graphical CVS interface should not make it possible to checkout from a 
different branch than the one that was initially specified.

All in all, sticky tags are a pretty sick concept, as can be expected
from CVS.

That's that,
  Jakob




More information about the KDevelop-devel mailing list