[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .cvsignore file being ignored
From: |
Frederic Brehm |
Subject: |
Re: .cvsignore file being ignored |
Date: |
Thu, 05 Jun 2003 11:02:24 -0400 |
At 10:08 AM 6/5/2003, Larry Jones wrote:
There's nothing I hate more than software that thinks it
knows more than I do and refuses to let me do what I want to do.
The principal of least surprises should be Commandment #1 of the Software
Engineers Ten Commandments (requirements for the other nine are still being
collected :-)
I agree that "cvs add" does just what it should do, but I can understand
the desire for a "cvs add-with-ignore" command.
It wouldn't be too hard to write a shell script "cvs-my-add" that trimmed
the list of files on the command line based on the contents of ./.cvsignore
and called "cvs add".
In order to get the build-in list and the $(CVSROOT)/CVSROOT/cvsignore
list, you would have to do ugly things in a shell script, or build a new
command into cvs. The current list of CVS maintainers does not seem to have
the inclination to do this.
Hey, it's Open Source. If you want it bad enough, you can add it. If you
make it a separate command (or possibly enabled with a special option to
add), then there's a chance it might be accepted by the current maintainers
for the next release. I think that there's some file named "Hacking" or
something like that which has requirements for getting something into cvs.
Fred
_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/