Repository referencing in command lines (was Re: 08:16 < abentley> Better phrasing: [...])

Wouter van Heyst larstiq at larstiq.dyndns.org
Fri Feb 10 17:10:25 GMT 2006


On Fri, Feb 10, 2006 at 05:49:32PM +0100, Erik Bågfors wrote:
> > > Then to access a branch you have simply:
> > >
> > > bzr get $REPO/bzr/dev/jam/
> > >
> > > rather than
> > > bzr get $REPO/bzr/ --branch=dev-jam
> >
> > Roughly, I dislike this because it's harder to see by eye what the
> > branch name is.  I mean, if I say
> > "sftp://foo@bar/depot/repo/nix/run/shazaam", am I referring to a
> > branch called "shazaam", or one called "run/shazaam", or...  I like it
> > being obvious what's what.
> 
> I just wanted to give my +1 to John's syntax.
> 
> One reason that was sooo much better in svn than in cvs is the following
> 
> cvs -d :pserver:user at host.domain:port/path co path/to/branch
> vs.
> svn co svn://user@host.domain/path/to/branch
> 
> it's much easier to type, remember and use.  As a user you do not NEED
> to understand what a repository is, which I think is a big plus.  I
> think most users of svn don't know that and shouldn't have to.

Agreed, you just know which subtree you want to work with, which part of
that is a repository or a branch isn't that interesting.

Wouter van Heyst




More information about the bazaar mailing list