info-cvs
[Top][All Lists]
Advanced

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

Re: CVS diff --exclude excluded


From: Larry Jones
Subject: Re: CVS diff --exclude excluded
Date: Wed, 31 Oct 2001 16:40:02 -0500 (EST)

Mark Hewitt writes:
> 
> In the CVS (1.11.1pl1) source, the GNU option '--exclude' is
> explicitly omitted from the command line parser data structures
> with a comment saying it did not seem applicable for CVS.

That's because CVS only diffs two files at a time -- the recursion is
handled by CVS, not by diff.

> The problem is that if this build directory exists when I do the
> 'cvs diff -r <last_tag>', then the diff aborts telling me there
> is no version in the repository for 'build'.  So the ideal fix is
> for me to tell diff to exclude this part of the tree, but I cannot
> because cvs will not pass that one on.

No, you need to tell CVS to exclude that part of the tree.  Have you
tried creating a .cvsignore file in the parent directory that lists the
build directory?

-Larry Jones

Physical education is what you learn from having your face in
someone's armpit right before lunch. -- Calvin



reply via email to

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