Switching a lightweight checkout when current bound branch no longer exists

Gordon Tyler gordon.tyler at gmail.com
Thu Jul 15 13:40:05 BST 2010


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

On 7/15/2010 2:58 AM, John Arbash Meinel wrote:
> Nicholas Allen wrote:
>> I was using a lightweight checkout of a branch which I then deleted
>> (as it had been merged to trunk). I then tried to switch my
>> lightweight checkout to a new branch but I got this error:
> 
>> bzr: ERROR: Not a branch: "/path/to/orig/branch"
> 
> I believe '--force' might get you what you want.

Why does bzr care if the original branch exists? All it's doing is
finding the parent (which is a string operation) and then looking for
the new branch.

Ciao,
Gordon


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

iQEcBAEBAgAGBQJMPwGlAAoJEIrPJfWinA2uTPQH/RWLxlQBTSETxDS6laP20iLW
zmQ39vR1+FMkxKPfes5x1HuVW02nJQSC+pU+2v2Xm2VeUKzDB1fDBBauC1aTR/Ck
dhr0Qo+eVkvoVDrl22O9jcQMSesghX35BuH8gx/sLRscnESJROHmgjDp+uZQaeju
5Ksx6LFs+HzVlQkw/jLm2Nfl8okqCuCf8bETsEwtWxahcOHcOEA/EyY7U31SfoyI
uDQXyAc+nkWQJoBFa89XLTiHmt8URgrTXDOqnK99J2GmFVs2sjvQxMu8BJl2fgfD
ZBFsUVMMthD9VWkROFLc462lGOiOx0j/B+2ICQ7kKVaIFeeqN3Ir7YtZScq+3t4=
=+Ph+
-----END PGP SIGNATURE-----



More information about the bazaar mailing list