Discussion:
How to retrieve ALL changes between two tags?
Roland Asmann
2009-12-25 20:08:21 UTC
Permalink
Hi all,

I was wondering if anybody could help me out with this.

I know how to retrieve the log between two tags (log -r<tag1>::<tag2>),
but this leaves out some changes. Namely, the files that are not tagged
with one or both of the mentioned tags because they:
a) are created after <tag1> and are therefor only tagged with <tag2>
b) were deleted after <tag1> and are therefor only tagged with <tag1>
c) are created after <tag1> and deleted before <tag2> and are therefor not
tagged at all.

In creating a list with all changes between certain tags, I would expect
to somehow have the resources mentioned above listed as well.

So, is there a way to achieve this? I don't care if it can be done with
one command or several, I just want to make sure my list is complete!

I've been thinking about using dates in the log, but there's the problem
that I can't retrieve the date for a tag from CVS...

Thanks!

Roland
Arthur Barrett
2009-12-26 21:32:26 UTC
Permalink
Roland,
Post by Roland Asmann
I know how to retrieve the log between two tags (log
-r<tag1>::<tag2>),
but this leaves out some changes. Namely, the files that are
not tagged
a) are created after <tag1> and are therefor only tagged with <tag2>
b) were deleted after <tag1> and are therefor only tagged with <tag1>
c) are created after <tag1> and deleted before <tag2> and are
therefor not
tagged at all.
In creating a list with all changes between certain tags, I
would expect
to somehow have the resources mentioned above listed as well.
So, is there a way to achieve this? I don't care if it can be
done with
one command or several, I just want to make sure my list is complete!
This is a frequently asked question - please read the book you've bought
that describes how to use CVS (eg: 'All About CVS' which I had a hand in
writing, or 'Essential CVS' or one of many others) - and/or look at
previous newsgroup posts.

reports on differences between Tags:
http://lists.gnu.org/archive/html/info-cvs/2009-05/msg00026.html

** click 'next in thread' to see each reply - the one from Mark Risman
is probably what you want. ***

Getting a list of files by date:
http://lists.gnu.org/archive/html/info-cvs/2009-08/msg00049.html

List the changes files between 2 dates on specific branch:
http://lists.gnu.org/archive/html/info-cvs/2009-05/msg00052.html
Post by Roland Asmann
I've been thinking about using dates in the log, but there's
the problem
that I can't retrieve the date for a tag from CVS...
CVS does not store the date of a tag. CVSNT (free just like CVS, but
NoT CVS - runs on unix/linux/windows) has a failsafe audit database
which indirectly solves this.

Regards,


Arthur Barrett
Arthur Barrett
2009-12-27 02:00:25 UTC
Permalink
Roland,
Thanks for the reply, but this is not what I'm after.
Please ask the mailing list - not me privately (use 'reply all').
I use Maven, and have it generate my changelog. In the log, I
have every
change that occurred between release-tags, including the
log-message that was used on the commit.
As I described, the only entries not in the changelog, are
those that have
not been tagged with both tags. Now, what I need is an output
similar to
that of 'cvs log', so that the Maven-plugin can handle generating the
changelog for me!
Maybe ask on a 'maven' mailing list - this list is for CVS questions.

Or of course you could switch to using a ChangeLog tool that is
recommended, eg: the Todd recently recommended cvs2cl ...

Regards,


Arthur Barrett

Loading...