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 13:04:50 -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:

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.

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.

Thanks,
Kent





reply via email to

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