[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to force CVS to invoke editor (log messages) for _every_ file fr
Re: How to force CVS to invoke editor (log messages) for _every_ file from _few_ being commited at once?
Wed, 21 Nov 2001 14:53:45 +0300
This is the simple example to define more precisely my question. For example
i do the following:
1. $ cvs co myproj
2. $ cd myproj
3. Then I begin working hard and edit onefile.c then secondfile.c then
onefile.h then Makefile and so on...
4. I want to commit all locally modified files at once with the command
$ cvs ci
instead of recalling what files i have edited and committing like
$ cvs ci onefile.c
$ cvs ci secondfile.c
cvs ci works fine, using all modified files as implied arguments and
invoking vi to compose the log message.
BUT VI IS INVOKED ONLY ONCE AND THIS LOG MESSAGE IS SHARED BETWEEN ALL
MODIFIED FILES! -
but i want to have DIFFERENT log messages for different files - and this is
(Before cvs i was using rcs for a couple of years. And rcs always asks you
about reusing previous log message or
writing the new one for _every_ file that is being checked in -- so you
don't need to keep in mind what files have been modified.
You can just check out - edit - check in).
So, my question is: How can i tell cvs to invoke vi for every file, that are
committed together, instead of invoking the editor once,
with the header, saying that you have modified file1, file2, file3 ...
May be there are some scripts available to use in commitinfo of loginfo? Or
am i using cvs in the wrong way (then what is the philosophy of "right
Thank you and looking forward for your answer,
----- Original Message -----
From: "Larry Jones" <address@hidden>
To: "A. Lioubimov" <address@hidden>
Sent: Tuesday, November 20, 2001 10:34 PM
Subject: Re: How to force CVS to invoke editor (log messages) for _every_
file from _few_ being commited at once?
> A. Lioubimov writes:
> > I have one question: how to force CVS to invoke editor (for arranging
> > messages) for _every_ file from few being commited at one moment?
> > Is it possible?
> I don't understand your question. Perhaps you could give an example of
> what you want?
> -Larry Jones
> It COULD'VE happened by accident! -- Calvin