[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 12:23:15 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chiu, Kent <address@hidden> writes:
> We are trying to upgrade our CVS to v1.11.17. We found out that there
> is a different behavior in the way cvs does commit.
>
> In the previous version, commit will bring up an editor with a newline
> before
> the "CVS: ..." line. In v1.11.17, it does not have the newline.
>
> I have tried to compile on both Redhat9 and Fedora but both have the same
> behavior. I am not sure what I am missing. Looking at the cvs code,
> logmsg.c,
> it looks like it can easily be fixed by adding a "\n" in front of
> "%s--------------------....".
> But I am not sure if it is the correct way to fix.
>
> Is there any flags or compiler options that I should use to get the
> behavior of having a newline in the commit log entry?
Just add an extra newline to the file specified by your rcsinfo file.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBbC8j3x41pRYZE/gRAjssAJ0WsSdNe+G2C1lv/HtuNDSZDLTRsQCeLK17
aZHn8VymZcUxt4v0jzk3tb8=
=7RxI
-----END PGP SIGNATURE-----