info-cvs
[Top][All Lists]
Advanced

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

Re: ignoring whole directories


From: Eric Siegerman
Subject: Re: ignoring whole directories
Date: Wed, 14 Nov 2001 13:55:23 -0500
User-agent: Mutt/1.2.5i

On Wed, Nov 14, 2001 at 03:55:28PM +0100, karl maynard wrote:
> is it possible to get cvs to ignore complete directories using .cvsignore
> rather than just files ?

Maybe.  If the directory already exists in the repo, some CVS
commands will properly ignore it (e.g. update) but others won't
(e.g. tag and log, if I recall).  If it isn't in the repo, adding
it to .cvsignore should work fine.

Not sure whether this is a bug or a feature.  What would be the
correct behaviour for a directory which:
  - exists in the repo
  - does NOT have a CVS subdirectory
  - is NOT listed in its parent's CVS/Entries* (i.e. there's no
    "D" record for the directory in question, but there is at
    least one "D" record, perhaps the no-argument, placeholder
    record)

N.B.: I'm not sure how .cvsignore affects CVS's treatment of such
a directory, except possibly for what "update" prints.  Seems to me
I tried it both ways, and "log" just insisted on aborting when it
tried to recurse into the sandbox subdirectory, complaining about
the missing <subdirectory>/CVS.

--

|  | /\
|-_|/  >   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]