[cvsnt] Missing branch tag info in loginfo processing...

Bo Berglund bo.berglund at telia.com
Wed Mar 23 17:25:07 GMT 2005


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.


I just discovered that the branch tag is missing from the information
that CVSNT supplies to the loginfo script when committing to a
branch...

I have tested in this case with a commit on my 2.0.41 production
server:
This is what is supplied to CVSMailer on the command line:
Parameter 1: -l00000f28
Parameter 2: bosse
Parameter 3: /PC
Parameter 4: CVSNT/cvsbin/setup style.css,1.1,1.1.2.1

And this is how the STDIN data looks like: 
Update of /pc/CVSNT/cvsbin/setup
In directory antares:C:\\cvstemp\\cvs-serv3880

Modified Files:
      Tag: Check_branch
	style.css 
Log Message:
Committing on a branch to see where the tag is shown

Notice the Tag: Check_branch line!

But now a commit to a branch on my test server running 2.5.02 gives
this result:

Command line parameters:
Parameter 1: -l0000047c
Parameter 2: bosse
Parameter 3: /KORVkiosk
Parameter 4: -rDOMINO\john ford
Parameter 5: ModuleXX/TestFolder TestFile.txt,1.1,1.2

And this is the STDIN data:
Update of /KORVkiosk/ModuleXX/TestFolder
In directory altair:F:\CVSTEMP\cvs-serv1148

Modified Files:
	TestFile.txt 
Log Message:
Committing file in branched folder...

Notice that even though the new revision number indicates a commit on
a branch the Tag: line is missing so there is no way to know which
branch the file was committed on.

Consequently the CVSMailer listing does not contain any value in the
branch column for the file.

I have tried tracing backwards to find out where this disappeared, but
I have not tracked it down yet. I don't have enough old logfiles for
CVSMailer to do it fully. Here is the result so far:

2.0.58 - Correct Tag: value supplied
2.5.1.1882 - Tag: missing


/Bo
(Bo Berglund, developer in Sweden)



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