info-cvs
[Top][All Lists]
Advanced

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

Re: Can the -D option be used on a branch?


From: Russ Tremain
Subject: Re: Can the -D option be used on a branch?
Date: Thu, 12 Apr 2001 10:12:17 -0700

you can use -D with -r <tag>, but sometimes it is confusing.
if <tag> is a simple tag, and not a branch tag, you might
not get what you expect.

-Russ

At 10:56 PM -0700 4/11/01, David L. Martin wrote:
>> David L. Martin writes:
>> > 
>> > I'd like to be able to checkout from a branch but take revisions that
>> > are older than a specified date.  Since the -D and -r are both
>> > sticky, they apparently cannot be used in combination.  Does
>> > anyone know of a workaround or combination of commands to
>> > do this?
>> 
>> Actually, they can be used in combination.
>> 
>> -Larry Jones
>> 
>
>Ah yes, so they can!  The tag is sticky, not the date, in the resulting
>checkout, but the date option is honored as expected.  The command
>usage for checkout and update (cvs --help co, cvs --help up) should
>perhaps be changed from [-r rev | -D date] to [-r rev] [-D date] to indicate
>that both options may be used in combination.
>
>In contrast, I note that rtag and tag operations do not accept the
>combination of -r and -D options.  They are mutually exclusive, and
>the help for rtag and tag indicates this ([-r rev | -D date]).  It would be
>nice for tag/rtag to accept both options as well.  (But one could always
>tag following checkout with both options and achieve essentially the
>same result).
>
>Thanks,
>David Martin
>
>
>_______________________________________________
>Info-cvs mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/info-cvs






reply via email to

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