Switching a lightweight checkout when current bound branch no longer exists
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 15 07:58:18 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicholas Allen wrote:
> Hi,
>
> 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 guess this makes sense but Bazaar could be more intelligent here.
> The lightweight checkout stores the revision that the working tree is
> at and this revision is contained in the new branch I was trying to
> switch to. So Bazaar should still be able to perform the switch
> shouldn't it?
>
> Cheers,
>
> Nick
I believe '--force' might get you what you want.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw+sYoACgkQJdeBCYSNAAPOtwCdGSlEO0x+9GbCEkxD+3AjhmMK
xMEAn00QD+1aUjxDr8hF6jFOIDgqfI7P
=L2TW
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list