[cvsnt] Re: how to get the branch information before

Bo Berglund bo.berglund at telia.com
Sat Nov 5 17:23:36 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.


On Sat, 05 Nov 2005 16:33:39 +0100, Bo Berglund
<bo.berglund at telia.com> wrote:

>
>Yes, you can get all the info you need by adding command line argument
>to your call to the Project.exe file (by the way you should only use
>forward slashes inside the CVS script files, \ is treated as an escape
>character).
>Look in the helpfile for CVSNT under the section "Reference manual for
>Adminstrative files", specifically at the chapter "The commit support
>files".
>Here you can see which command arguments you can use to get almost all
>the info you need to cope with the problem at hand.
>

After creating a command line argument checking program and running
that from the commitinfo script I see that I cannot really extract the
tag (branch tag) of the files being submitted for commit. :-(

Tony,
is there a way to get this info from the commitinfo file using the new
triggers and the common syntax or wahtever?

I used this construct:
ALL C:/somepath/CheckArguments.exe %s %m %p %d %h %u %r %R %S %e %H %P
%i
And the output was:
20051105 18:18:18 Param1: BranchAddFile.txt
20051105 18:18:18 Param2: Checking commitinfo arguments list
20051105 18:18:18 Param3: ModuleXX
20051105 18:18:18 Param4: Sat Nov  5 17:18:16 2005
20051105 18:18:18 Param5: polaris.agiusa.se
20051105 18:18:18 Param6: Bosse
20051105 18:18:18 Param7: /KORVkiosk
20051105 18:18:18 Param8: C:/DATA/CVSREPO/Bosse
20051105 18:18:18 Param9: 1500436ce9585fe3
20051105 18:18:18 Param10: notepad
20051105 18:18:18 Param11: POLARIS
20051105 18:18:18 Param12: C:\Programs\cvsnt\Temp\cvs-serv5376
20051105 18:18:18 Param13: CVSNT 2.5.01 (Travis) Build 1976 (cvsgui
active)



/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