[cvsnt] Re: Commitids

Tony Hoyle tmh at nodomain.org
Fri Aug 8 12:20:38 BST 2003


On Fri, 8 Aug 2003 11:08:00 +0100, "John Hall"
<john-news1 at cambridgetechgroup.com> wrote:

>One thing that would be useful is to do a diff between a commitid and the
>previous versions of each file in question, i.e. to display what was changed
>by a commit. As far as I can tell, at the moment, you can only do something
>like:
>
>    cvs diff -r @abcxxxxxx -r @xyzxxxxxxx
>
>Is what I want possible?
>
Anything you can do with a tag, you can do with a commit id (just think of
them as automatic tags)...  Unfortunately one thing that's missing from CVS is
relative tags (it's on my list of things to look at, because it can
potentially be very useful).  You could probably write a script to do what you
want (get the revisions for the commit IDs and manually diff between them and
the previous ones).

Tony



More information about the cvsnt mailing list