bug-cvs
[Top][All Lists]
Advanced

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

Re: cvs rtag -r BRANCH -D date


From: Larry Jones
Subject: Re: cvs rtag -r BRANCH -D date
Date: Tue, 5 Jun 2001 12:33:36 -0400 (EDT)

Derek R. Price writes:
> 
> If this is going to happen, I might suggest that it be made to match the
> format for 'up -j'  (-j<branch>:<date>), both for uniformity and because
> there are some commands, such as CVS diff, where -r -D would be
> ambiguous (for diff, -r -D -r -D could specify a diff between two dates
> on two branches, so does -r -D mean the user wants a single diff between
> the local version and a date on a branch or between a branch and a
> date?  The current operation would provide the latter).  Anyway,
> -r<branch>:<date> should be usable across the board and some of the code
> might already be in place due to the 'up -j' operation.

It's pretty much just a matter of parsing -- as far as I know, every CVS
command that takes a revision and/or a date is coded such that it would
work correctly with both, although some have error checking code that
disallows it anyway.  Simply allowing both -r and -D is intuitive, but
it does cause problems for diff.  I'm throughly undecided about what the
best approach is.

-Larry Jones

Hmm... That might not be politic. -- Calvin



reply via email to

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