[Top][All Lists]

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

Re: Is this a bug?

From: Larry Jones
Subject: Re: Is this a bug?
Date: Fri, 18 May 2001 14:54:46 -0400 (EDT)

Andy Baker writes:
> After editing a log message during the commit process you quit from the
> editor (eg :q! in vi) the following prompt (correctly) appears.
>       Log message unchanged or not specified
>       a)bort, c)ontinue, e)dit, !)reuse this message unchanged for
> remaining dirs
>       Action: (continue) 
> However, if you select e to re-edit, any template specified in rcsinfo
> doesn't appear to get re-loaded, just the vanilla cvs template.
> Is this a bug or am I missing something?

You're missing something, although it's hard to say what.  The message
that's written into the temp file for the editor consists of any
previous message, any rcsinfo template (unless it's the same as the
previous template) , and the standard template.  After editing, the temp
file is read and lines beginning with "CVS:" are removed; what remains
becomes the previous message for the next go-round.  If what remains is
empty (or is just a blank line), or if the file is unmodified (based on
its timestamp), you get the message.  So, the only ways I can think of
to get your result is that either your rcsinfo template lines start with
"CVS:" or you deleted the template and saved the result before quiting
from the editor; otherwise, the template would have been read into the
previous message and thus preserved.

-Larry Jones

Something COULD happen today.  And if anything DOES,
by golly, I'm going to be ready for it! -- Calvin

reply via email to

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