[cvsnt] multi-line msg on comman line

Bo Berglund bo.berglund at telia.com
Thu Sep 14 22:38:20 BST 2006


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 Thu, 14 Sep 2006 23:35:18 +0200, Bo Berglund
<bo.berglund at telia.com> wrote:

>On Thu, 14 Sep 2006 13:58:28 -0600, "Randy McCharles"
><RandyMcCharles at smarttech.com> wrote:
>
>>I've looked through various documentation and searched the web, but can't seem to find a reference to this subject.
>>
>>When doing a
>>
>>   cvs admin -m"log message" file
>>
>>is there a way to insert a multi line comment?
>>
>>cvs commit invokes and editor to enter multiple lines, but admin doesn't seem to.
>>
>>We use cvs admin -m to correct check-in comments.
>>
>
>Use the \n escape:
>
> cvs admin -m"log message\nwith multiple lines\ embedded" file
>

Actually according to the docs it should be:
  cvs admin -mRev:"log message" file
in this case:
  cvs admin -m1.15:"log message\nwith multiple lines\ embedded" file

HTH

/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