[MERGE] * ``bzr switch`` will attempt to find branches to switch to relative to the

John Arbash Meinel john at arbash-meinel.com
Mon Mar 3 15:13:03 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> * ``bzr switch`` will attempt to find branches to switch to relative to
> the current branch. E.g. ``bzr switch branchname`` will look for
> ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
> Wouter van Heyst)
> 
> Sent on behalf of Robert, whose mail is down at the moment.
> 
> But
> 
> bb:approve
> 
> by me as well.
> 
> Cheers,
> 
> Jelmer
> 

I like the idea, though I wonder if we couldn't do 1 better.

1) It seems like if you try:

  bzr branch http://foo/bar/baz

it will end up trying the location

  sftp://current/branch/../http://foo/bar/baz

(obviously it only does it if the direct lookup fails, but it still
seems odd)

2) For my repositories, I usually nest at least 2 deep. So I have
"repo/1.3-dev/branch" and "repo/1.2-dev/other-branch"

It seems like it would be nice that if I give it:

  bzr switch foo/bar

It could look in "../../foo/bar"

So, I think this is an overall improvement, but I don't know that it is
fully fleshed out.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzBNaJdeBCYSNAAMRAnG1AKCYOdA3TEerAj3JLB2Jjf2mO5d8xQCfd6fb
uKQybsTyUFudT1y6T0Kvseo=
=2X2K
-----END PGP SIGNATURE-----



More information about the bazaar mailing list