[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS commit with no newline in the editor
From: |
Mark D. Baushke |
Subject: |
Re: CVS commit with no newline in the editor |
Date: |
Tue, 12 Oct 2004 13:18:33 -0700 |
-----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.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBbDwZ3x41pRYZE/gRApzeAKCOPfUiY0xXttFluE52CVM2ONgyfQCfQYLc
7UE516Bb+fRBXGss+2ni8rM=
=y6av
-----END PGP SIGNATURE-----