Switching a lightweight checkout when current bound branch no longer exists
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 15 16:23:59 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.
>
>
Info about uncommitted changes are stored in the WT not the branch.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw/KA8ACgkQJdeBCYSNAAPcZACgpMQXRDEmJpWiOtiCFR+dDjrc
FTQAoJVNile7Q9Iq9XrDWQdhfeIkWnnY
=+uAS
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list