info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS commit with no newline in the editor


From: Chiu, Kent
Subject: Re: CVS commit with no newline in the editor
Date: Tue, 12 Oct 2004 14:01:37 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Mark D. Baushke wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chiu, Kent <address@hidden> writes:

Hi Mark,

Thank you for replying so quickly.

I am sorry, I am new to CVS. We don't really use rcsinfo file. We
basically use a plain CVS functionality and use all the default
settings that come from the CVS distribution.

From the CVS documentation, it looks like rcsinfo file should contain
a rule set. I am not familiar with this file.

Also, how can we make it applied globally to all newly created
projects instead of individually customizing the newline behavior? I
mean, without having to edit the rcsinfo file on every project.

Use the following (unix) commands:

 cvs checkout CVSROOT
 cd CVSROOT
 echo > rcstemplate
 cvs add rcstemplate
 echo 'DEFAULT $CVSROOT/CVSROOT/rcstemplate' >> rcsinfo
 echo 'rcstemplate' >> checkoutlist
 cvs commit -m 'Add a default log message template.'
 cd ..
 cvs release -d CVSROOT

Now anyone that does a new cvs checkout of the same repository will get
the appropraite CVS/Template file that has the empty line you want which
will be part of the inital log message they see.
Thanks for your super quick response. That works.
A follow up question. Is there any way that these changes can be made 
permanently for subsequent new creation of repositories so we don't have
to do the customization above?

Thanks,
Kent






reply via email to

[Prev in Thread] Current Thread [Next in Thread]