Don't know if there's a better way but you could write a script to do it, something like:
for i in `cvs -q update . | grep '^U' | awk '{print $2}'` do cvs commit $i done -----Original Message----- From: A. Lioubimov [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 11:54 To: Larry Jones Cc: [EMAIL PROTECTED] Subject: Re: How to force CVS to invoke editor (log messages) for _every_ file from _few_ being commited at once? Hello, 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 this: $ 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 the problem. (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 committing") ? Thank you and looking forward for your answer, Alexei Lioubimov ----- Original Message ----- From: "Larry Jones" <[EMAIL PROTECTED]> To: "A. Lioubimov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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 log > > 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 _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. ---------------------------------------------------------------------- _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs