How to open branch object equivalent of -r ancestor::parent

Aaron Bentley aaron at aaronbentley.com
Thu Mar 29 18:49:09 UTC 2012


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

On 12-03-29 12:12 PM, Alexander Belchenko wrote:
> I've got error message instead of expected delta between 2 trees:
> 
> _KnitGraphIndex(CombinedGraphIndex(<bzrlib.btree_index.BTreeGraphIndex
>
> 
object at 0x02EEEF10>, <bzrlib.btree_index.BTreeGraphIndex object at
> 0x02EEEE30>)) is not locked
> 
> What did I do wrong?

You need to take read (or write) locks on both repositories.  One way
to do this is to take locks on both branches.

Aaron

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

iEYEARECAAYFAk90rqUACgkQ0F+nu1YWqI1YEACeM3swdv7ukma5f/Tu+DfTPUXK
b/wAnA/MWMxb55Urho5C++Y/zxGzl3BR
=IAtz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list