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:56:46 -0700

Mark D. Baushke <address@hidden> wrote:

>> Kevin Layer <address@hidden> writes:
>> 
>> > Pardon me for replying my own message, but having seen lots of
>> > other mail go by... can someone please take a second and tell me if
>> > I'm SOL or if it's possible?  Thanks.
>> > 
>> > Kevin Layer <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.
>> 
>> You can certainly checkout a tree
>> 
>>    cvs checkout -r branch-name -D "2 days ago" module.2daysold

Yes, this worked for 1.11.2.  Thanks.

>> with recent cvs versions. I am not sure if diff can do the job for you
>> alone... then you could 
>> 
>>    cvs checkout -r branch-name module.now
>> 
>>    diff -x CVS -rup module.2daysold module.now
>> 
>> to get the diffs you want.

Yes, that's what I'm doing.  Kinda pathetic I have to resort to this,
but I don't have to go to backup tapes so I'm happy enough.

Mark, I appreciate your answer.  Thanks.

>> > >> I looked at the FAQ on cvshome.org and googled for an hour, without
>> > >> success.  IIRC, this is a long standing issue, but I really need the
>> > >> feature so I want to make sure before I start resorting to backup
>> > >> tapes, etc.
>> 
>>      Good luck,
>>      -- Mark




reply via email to

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