[Top][All Lists]

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

Re: Differences between revisions - ALL Files

From: Todd Denniston
Subject: Re: Differences between revisions - ALL Files
Date: Wed, 21 Apr 2004 15:56:38 -0500

Barry Svee wrote:
> I have spent hours trying to generate a list of all file differences
> between revisions so that I can report which files were added and
> which files were modified by a project team. The problem is, when CVS
> sees a new directory that was added by the team it just says that it's
> skipping it altogether because it's not in one of the revisions, as in
> "cvs diff: ignoring /com/blah/blah(CVS/Entries Missing)". I want that
> list of added files so that I don't have to hand-type the names of
> dozens of new files!
> I have tried the following:
> cvs -nq update -r oldrev
> cvs -n diff -r oldrev -r newrev
> cvs -n diff -r newrev -r oldrev
> ...and many other combinations of arguments that didn't make any
> difference.
> Does anyone know of a combination that can give me a complete list of
> file differences, even if one revision does not have all of the files
> of another revision?

cvs diff --brief --new-file -r oldrev -r newrev
cvs diff -u --new-file -r oldrev -r newrev
Should do it.
Though you may need a current sandbox checked out first to do it in, not sure
if the lack of directories in your old sandbox was causing you some trouble.
if you want to update your current sand box first I would suggest
cvs update -Pd

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

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