Switching a lightweight checkout when current bound branch no longer exists

John Arbash Meinel john at arbash-meinel.com
Thu Jul 15 16:24:32 BST 2010


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

Gordon Tyler wrote:
> On 7/15/2010 8:54 AM, Brian de Alwis wrote:
>> On 15-Jul-2010, at 8:40 AM, Gordon Tyler wrote:
>>> On 7/15/2010 2:58 AM, John Arbash Meinel wrote:
>>>>> 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.
>> Wouldn't bzr need to know the corresponding revision of the working tree?
> 
> Hmm... After reading the help, I see that it preserves uncommitted
> changes (unless --force is used). That would require knowledge of the
> current branch, so I can see why.
> 
> 

Actually, I see your point, the WT may not be in sync with the branch,
and it would want to detect that.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw/KC8ACgkQJdeBCYSNAAPvVgCfbDkerC+IrYYsaWwz81MxZIR4
MusAn03v/ocYg2bFJ6s7/UY2ZvBSuAhU
=wAFj
-----END PGP SIGNATURE-----



More information about the bazaar mailing list