Forum OpenACS Development: .ORIG files in CVS

Collapse
Posted by Malte Sussdorff on
We currently have a couple of .orig files in the catalog directories in the CVS. They do not belong there.

How can we prevent this from happening in the future (is there some way of preventing cvs commits for files that end in .bak/.orig/~ or start with #) ?

What is the fastest way to remove those orig files from CVS again?

Collapse
2: Re: .ORIG files in CVS (response to 1)
Posted by Malte Sussdorff on
Okay, the fastest way to remove them again:

find . -name *.orig -exec sh -c 'rm {}; cvs remove {}' \;
cvs commit -m "Removed .orig files that do not belong in CVS"

Collapse
3: Re: .ORIG files in CVS (response to 1)
Posted by Carl Robert Blesius on
see cvsignore:

http://www.gnu.org/software/cvs/manual/html_node/cvs_141.html

"The per-repository list in `$CVSROOT/CVSROOT/cvsignore' is appended to the list"