Re: CVS mass chekcin?

Bram Moolenaar <[email protected]> Tue, 15 Jun 2004 12:50:31 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Simon Liang (?) wrote:

> Is it possible to have a aap script which
> allow the user to do:
>     aap *
> which will do one 'cvs ci ' and use one
> comment?
> 
> I've only been able to commit on a per
> file bases and have to supply comment 
> for each file.

I was just thinking about this.  Mostly because a per-file commit takes
a lot of time.  Although I don't know if doing a directory commit is
actually faster (internet speed is unpredictable, hard to get reliable
statistics).

Since Aap leaves the checking of changes to CVS, running CVS directly is
probably the simplest solution:

	:sys cvs commit

Is there any drawback to doing it this way?  I think this is portable
and works on all systems (so long as it has a cvs command, of course).
You can add any other cvs arguments you may want to use (if you can
figure out which ones you need, there are many).

If your only trouble is the comment, you can set $LOGENTRY:

	LOGENTRY = updated for version $Version

-- 
I'm writing a book.  I've got the page numbers done.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND