info-cvs
[Top][All Lists]
Advanced

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

Re: -D date_spec and branches


From: Kevin Layer
Subject: Re: -D date_spec and branches
Date: Wed, 28 May 2003 21:55:10 -0700

My tests show that your suggestions do not work.  I'm using 1.11.2.
The revisions are always retrieved from the trunk, not the sticky tag
(branch) for the tree I'm in.

Øyvind A. Holm <address@hidden> wrote:

>> On 2003-05-28 15:41-0700 Kevin Layer wrote:
>> 
>> > How do I reference the revisions on a branch for a specific date?
>> >
>> >   cvs diff -D "2 days ago"
>> >
>> > always seems to refer to the trunk, and not the branch I'm on.
>> 
>> cvs upd -r mybranch
>> cvs diff -D "2001-05-17 16:12Z" -D "2002-01-21 18:12" myfile.c
>> cvs diff -D "2001-05-17 16:12" -D "1 month ago" myfile.c yourfile.
>> cvs diff -D "2001-05-17 16:12" -D "1 year 2 months ago" *.h
>> cvs diff -D "5 years 2 months 3 weeks ago" -D "18:12"
>> 
>> Lots of combinations available. By placing a Z after the HH:MM the time
>> is specified in GMT, otherwise it’s local time.
>> 
>> If you don’t run the first update command, all the diffs will be done on
>> the main branch.
>> 
>> Regards,
>> Øyvind
>> -----------
>> cat /dev/urandom >SCO




reply via email to

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