[Top][All Lists]

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

Re: cvsignore-ing everything but .cvsignore

From: Eric Siegerman
Subject: Re: cvsignore-ing everything but .cvsignore
Date: Fri, 14 Dec 2001 16:58:21 -0500
User-agent: Mutt/1.2.5i

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

One command that I know is different is import.  It'll ignore all
files with matching .cvsignore entries(*), whether or not they're
already CVS-tracked.

* I mean by this, entries in the .cvsignore file in the directory
  being imported.  I don't know whether the corresponding
  .cvsignore,v in the repo has any effect.


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
The world has been attacked.  The world must respond ... [but] we must
be guided by a commitment to do what works in the long run, not by what
makes us feel better in the short run.
        - Jean Chr茅tien, Prime Minister of Canada

reply via email to

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