[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add log message to an unaltered file
From: |
Larry Jones |
Subject: |
Re: add log message to an unaltered file |
Date: |
Wed, 19 Dec 2007 16:00:10 -0500 (EST) |
eric63 writes:
>
> I think this is the right track, but the comment "disables recursion" raises
> a question. If I do:
>
> cvs commit -R -f -m "production deployed on 19 Dec 2007" *
>
> Will cvs add this message to all the files (use the -R recursion) or just
> the files in this directory (ignores -R)?
Just the files in the current directory (ignore -R), but that's because
options are processed in order so the -R enables recursion (which it
already is by default) and then the following -f disables it. If you
put the -R *after* the -f:
cvs commit -f -R -m "production deployed on 19 Dec 2007" *
then it will work recursively like you want (-f disables recursion then
-R enables it again).
-Larry Jones
Summer vacation started! I can't be sick! -- Calvin