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: Mark D. Baushke
Subject: Re: -D date_spec and branches
Date: Wed, 28 May 2003 18:47:15 -0700

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

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.

> >> 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]