[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get changelog between two tags
From: |
Todd Denniston |
Subject: |
Re: How to get changelog between two tags |
Date: |
Wed, 18 May 2005 09:08:10 -0500 |
address@hidden wrote:
>
> Hello,
>
> I know there are some discussions in the past about using tags with cvs log,
> but I found no answer to my current problem.
>
> I need to get the changes which are made on some files since a specific tag.
> My Problem is to get also changes from files, which don't have the specified
> tag, because they are added to cvs after the tag has been generated.
>
> What I have tried, is to use the following syntax:
> cvs log -rTag1::Tag2
>
> Is it possible to get the changes for files which don't have Tag1 but have
> Tag2 ?
>
> It is not possible to use the file revision (e.g. 1.13), because I have many
> files (~28000) and it would take to long to get the possible filerevisions
> for cvs log -rFileRev::Tag2 .
>
> Is there a other way, or a hidden parameter, to get also files which don't
> have the Tag "Tag1"?
>
Unfortunately you can not combine a Date and a tag, but if you know the
dates of both tags I think you can combine them to get what you want like:
cvs2cl.pl -l "-d \"2005-05-05T11:20<2005-05-17T16:51\""
or call the log command directly
cvs log -d 2005-05-05T11:20<2005-05-17T16:51
Note that the date format above does not fully comply with ISO 8601 [2],
because the time zone is not included, so you will have to convert to UTC if
you are getting the date from some tool not using UTC.
[1] cvs2cl.pl http://www.red-bean.com/cvs2cl/
[2] Date format http://www.w3.org/TR/NOTE-datetime
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter