[cvsnt] multi-line msg on comman line

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


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