On Tue, Oct 17, 2000 at 06:55:21AM -0500, B. W. Fitzpatrick wrote:
> > On Tue, Oct 17, 2000 at 12:05:49AM -0000, kfogel@tigris.org wrote:
> > >...
> > > +A start on global options:
> > > +
> > > + -r repository Use REPOSITORY.
> >
> > Wouldn't this be an argument to the checkout command? Or are we planning to
> > allow some of the commands when a working copy does not exist? e.g. why
> > specify the repository for an "update" ?
>
> I would guess that it's for hysterical raisins. I mean, how many times
> have you done this:
>
> $ cvs -d :pserver:foo@bar.com:/cvs login
> $ cvs -d :pserver:foo@bar.com:/cvs co qux
Well, not only that -- at least under CVS, I frequently have to use a
repository other than the one encoded in CVS/ for some bletcherous reason
or other. For example, the repository used to be local, but somebody moved
it to another machine. So CVS/Root says `/src', and I have to say
`cvs -d mab@cvs:/src diff ...' to get useful results. So it's kinda handy
to have it be a global option.
Speaking of historical reasons, the change from -d to -r seems a little bit
gratuitous to me. Does -d count as ``suffocatingly'' similar to CVS? :-)
Received on Sat Oct 21 14:36:11 2006