[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Determining which files have changed from one set of tagged files to
Re: Determining which files have changed from one set of tagged files to another
Wed, 13 Mar 2002 15:31:40 -0500 (EST)
Greg A. Woods writes:
> [ On Wednesday, March 13, 2002 at 10:17:18 (-0500), John Lippiello wrote: ]
> > Subject: Determining which files have changed from one set of tagged files
> > to another
> > 1. What we would like to be able to do is query the repository
> > using 2 tags and get back, a list of files that have
> > changed between the 2 tags.
> cvs rdiff -r tag1 -r tag2 module > diffs.out
> > The main thing is we don't want to have to completely checkout
> > the two tags and do a huge difference on them.
> CVS is essentially doing that, into temporary files, anyway.... :-)
If you only want to know what changed and not the details of the
changes, you can use the -s flag. That avoids doing checkouts at all
(it just looks to see if the tags point to different revisions). Even
if you do want the details, rdiff avoids checking out files where both
tags are attached to the same revision; if many files haven't changed,
that saves a lot of checkouts.
I always have to help Dad establish the proper context. -- Calvin