[cvsnt] Scripting error in 2.5.01

Bo Berglund bo.berglund at telia.com
Tue Mar 29 21:20:24 BST 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.


Tony,
I have now found a new problem with the scripts handling....

I have a module sandbox called ModuleXX
In this I have a modified file and a subfolder named TestFolder in
which I have yet another modified file.
When I commit from the top folder loginfo triggers twice, one time for
the top folder and one time for the TestFolder.
I have this at the end of loginfo:
%<< \nFiles:\n%<{sVvt} %<< \nLog Message:\n%<m

On STDIN I get this for the top folder:
Files:
ModuleXX
SecondFile.txt,1.26,1.26.2.1,Branch_MergeTest

Log Message:
Now testing direct sending


But on the next loginfo call from TestFolder I get this:
Files:
TestFile.txt,1.3,1.4,

Log Message:
Now testing direct sending

Notice that the folder name is missing from the list of files, which
means that the files will be erroneously reported in the email.

It seems like cvsnt treats loginfo differently depending on if it is
invoked on the top folder as compared to the next folder below.
I would have expected a folder item also like this:
ModuleXX/TestFolder
TestFile.txt,1.3,1.4,


/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