[cvsnt] Inconsistency in handling upper and lower case in tags

Johannes Kilian jok at vitronic.com
Thu Sep 19 11:03:36 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,

By mistake I created two branches on a module, which are (accidentically) 
discriminated by upper case and lower case of the same string (branchname 
and BRANCHNAME), but "both" branches should be handled as one branch. 
Therefore I have to join them again.

Checking out / Updating with sticky tag "branchname" recovers the branch 
"branchname" and sticky tag "BRANCHNAME" recovers branch "BRANCHNAME" as 
expected - upper and lower case is taken into account.

Now I want to join the branches by renaming the branches with the 
cvs admin command:

- Checking out branch "BRANCHNAME" to "directory"
- Applying "cvs admin -nbranchname:BRANCHNAME directory" should rename 
the branch "BRANCHNAME" to "branchname", but does not work - because 
upper/lower case is not taken into account with the "cvs admin -n" command

Workaround:

- Checking out branch "BRANCHNAME" to "directory"
- Rename the branch to temporary branchname 
"cvs admin -ntemp_branchname:BRANCHNAME directory"
- Deleting uppercase branch "BRANCHNAME" (which is empty, cause the former 
branch "BRANCHNAME" has been renamed to "temp_branchname") using 
"cvs admin -nBRANCHNAME directory"
- Rename the temporary branch to lowercase name
"cvs admin -nbranchname:temp_branchname directory"
- Deleting temporary branchname
"cvs admin -ntemp_branchname directory"
- The branch is renamed from "BRANCHNAME"

The inconsistency in handling upper/lower case branchnames in 
cvs checkout/update on the one hand and cvs admin on the other hand is
a bug.

Johannes



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook