[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Adding files to ignore list recursively

From: Miller Dale C Contr AFWA/SDHS
Subject: RE: Adding files to ignore list recursively
Date: Fri, 15 Oct 2004 10:01:45 -0500


It is cvsignore (not .cvsignore).

cvsignore ignores certain files when doing updates, imports, or releases.

Adding "*.bak" and "*.class" lines (without the quotes) should ignore all
future .bak and .class files from being updated or imported to any

The cvs add command does not use the cvsignore file because you explicitly
name the file in an add command.  So if you have a script that adds files
you want to make sure it ignores .bak and .class files in the script.  If
you do an "update -nq" it shows files that could be added with a leading
question mark "? " and does ignores files that matching patterns in your

Files that are already in the repository are not ignored.  If you have *.bak
and *.class files in the repository you could either remove the ,v files or
place them in the Attic with "rm file in work area", "cvs rm file", "cvs
commit file"

Dale Miller

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Sent: Friday, October 15, 2004 8:33 AM
To: 'Antony Paul'; address@hidden
Subject: RE: Adding files to ignore list recursively

Antony Paul wrote:
>    I have to *.bak and *.class files in all directories to the ignore
> list for the entire repository. I tried `$CVSROOT/CVSROOT/cvsignore' 
> but it is not working. This is the format I used.

Try .cvsignore (not cvsignore).

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]