> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Larry Jones > Sent: Wednesday, December 19, 2007 1:00 PM > To: eric63 > Cc: [email protected] > Subject: Re: add log message to an unaltered file > > 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).
Thanks, Larry; I just confirmed that with our test repository. That's obscure, though. I don't think I ever would have figured that out without looking at the source code... -- Rick Genter Principal Software Engineer Silverlink Communications [EMAIL PROTECTED] www.silverlink.com
