[cvsnt] Re: Update does not support 'per-file' tags/branches

Joe Enfield joeenfield at hotmail.com
Tue Oct 19 20:55:17 BST 2004


I've been doing some testing.
I created a test cvs server, and tried cvsnt versions 2.0.41, 2.0.51d, and
2.0.58a
version 2.0.41 worked as expected.
versions 2.0.51d, and 2.0.58a did not work.
I will go through each version between 2.0.41 and 2.0.51d and try to narrow
down where the behavior changed.

To re-cap 2.0.58a exhibits this behavior (at least for me):
given the sandbox:
SandBox\src\com\company\dir1\dir2\file12.java (branch1)
SandBox\src\com\company\dir1\dir2\dir3\file123.java (branch2)
SandBox\src\com\company\dir1\dir2\dir4\file124.java (branch1)

Then
c:\SandBox\src>cvs update
will cause the SandBox\src\com\company\dir1\dir2\dir3 files to change from
branch2 to branch1 (wrong behavior)

given the sandbox:
SandBox\src\com\company\dir1\dir2\file12.java (Head)
SandBox\src\com\company\dir1\dir2\dir3\file123.java (branch2)
SandBox\src\com\company\dir1\dir2\dir4\file124.java (Head)

Then
c:\SandBox\src>cvs update
will keep the SandBox\src\com\company\dir1\dir2\dir3 files as branch2 (right
behavior)

I will try to make a scripted test of this, and upload it for others.

Joe E.





More information about the cvsnt mailing list