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

Bo Berglund bo.berglund at telia.com
Sat Nov 5 07:23:29 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, 5 Nov 2005 13:55:10 +0800, Xiaoyan Jin <xiaoyan.jin at gmail.com>
wrote:

>>
>> Dear all,
>>  In order to make sure the users commit the files to the right branch, I
>> try to perform the checking before committing. So I want to catch the branch
>> info. It means that before the committing is performed, I need to get the
>> info: which branch does the user try to commit. Then I wonder how can I get
>> this branch information?
>>  Thanks in advance.
>>  Greetings,
>> Amy
>>
You can use the CVSROOT/precommand or CVSROOT/commitinfo scripts.
Probably commitinfo makes more sense since it is meant to be used as a
check against false commits.
Look in the docs for these scripts.


/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