[Top][All Lists]

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

Re: cvs checkout/update --help?

From: Derek R. Price
Subject: Re: cvs checkout/update --help?
Date: Fri, 10 Aug 2001 14:18:09 -0400

Larry Jones wrote:

> Tom Cunningham wrote:
> >
> > Usage:
> >   cvs checkout [-ANPRcflnps] [-r rev | -D date] [-d dir]
> >     [-j rev1] [-j rev2] [-k kopt] modules...
> [...]
> > Are -r and -D really mutually exclusive as the help suggests?
> Probably not, although it doesn't really make sense to specify them both
> unless you're using -r to specify a branch tag.  (If you're running an
> old enough release of CVS then they *are* exclusive -- you can get a
> newer release from www.cvshome.org.)
> Matthew Riechers writes:
> >
> > When I do 'cvs co -rSOME_CURRENT_REV -D"today" module', I get no output
> > (no dirs created). Each argument given seperately gives the expected
> > result. That would imply that they *are* mutually exclusive.
> No, if they were mututally exclusive you'd get an error message.  What
> that implies is that you specified a revision tag rather than a branch
> tag and the date of that revision didn't match the date you specified.

One other note.  This has been discussed before, but I like the idea of
-r<branch>:<date> when a user wishes to specify both.  This would work with
diff when two -r's need to be specified and then -r and -D really could be
made mutually exclusinve for the other commands again.


Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
"Thank GOD Microsoft doesn't build airplanes."

reply via email to

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