[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about the command-line for committing
From: |
Rob |
Subject: |
Re: Question about the command-line for committing |
Date: |
Thu, 11 Jan 2001 01:24:41 -0800 |
User-agent: |
Mutt/1.2.5i |
Hello,
You can specify a path/filename as well.
i.e.
cvs commit -m "this dir is cool" cooldir/
cvs commit -m "this file is not cool" notcool/notcool.c
On Thu, Jan 11, 2001 at 01:06:04AM -0800, Reinstein, Shlomo wrote:
> Hi,
>
> The "commit" command of CVS has an option, "-m", for specifying a log
> message on the command-line instead of interactively using an editor. But
> what happens when the commit is recursive and there are files in other
> directories that will be committed? Is there a way to specify (on the
> command-line) different log messages for different directories?
> While this question seems to be irrelevant (why would a user want to specify
> different log messages to different directories through the command-line?),
> I am interested in this for testing purposes -- I have set up some scripts
> to handle commit commands using the "loginfo" and "commitinfo" files in the
> repository, and I would like to have an automatic script to test them. One
> of my test cases is providing a different log message for each directory,
> and if I can't do that from the command-line then this test case has to be
> manual (at least partially - I will need to wait for the editor and enter
> the log message).
>
> Thanks,
> Shlomo
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
>