[cvsnt] multi-line msg on command line

Randy McCharles RandyMcCharles at smarttech.com
Thu Sep 14 22:51:29 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.


I did try \n and the sequence was treated as part of the message.

i.e. the log reads:  line1\nline2\nline3

Also -mRev is only required if you are not using the currently checked out revision. -m by itself will use the checked out revision.


Randy McCharles

SMART Technologies Inc.

Senior Software Developer

Tel. 403.802.3347  Fax 403.229.2531
randymccharles at smarttech.com
http://www.smarttech.com

Bringing people and ideas together.(tm)



-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Bo Berglund
Sent: Thursday, September 14, 2006 3:38 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] multi-line msg on comman line


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)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook