info-cvs
[Top][All Lists]
Advanced

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

Re: cvsignore-ing everything but .cvsignore


From: Jack Baty
Subject: Re: cvsignore-ing everything but .cvsignore
Date: Sat, 15 Dec 2001 14:51:13 -0500
User-agent: Mutt/1.3.22.1i

Eric Siegerman wrote:
> On Fri, Dec 14, 2001 at 03:30:31PM -0500, Jack Baty wrote:
> > My problem is that I don't know if there's a way to cvsignore all files
> > *except* the .cvsignore file within each directory.
> 
> Put an entry "*" in .cvsignore.
> 
> If a file is already CVS-tracked, that takes priority over a
> .cvsignore entry saying to ignore it.  Basically, a .cvsignore
> entry for "foo" says not to print "? foo" lines during updates,
> if foo is not already CVS-tracked.
> 
> If foo *is* already CVS-tracked, it will *not* be ignored,
> despite the .cvsignore entry.  I tested this with checkout,
> update, commit, and tag; not sure if it's true for other
> commands.

That was it. I had a "*" line in .cvsignore, but had not added the .cvsignore
file itself, so the .cvsignore file was also ignored. It is now behaving
exactly as expected.

Thank you for the very complete response.

-- 
Jack Baty
Fusionary Media - http://www.fusionary.com/




reply via email to

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