error exporting a knitpack-experimental branch
Alexander Belchenko
bialix at ukr.net
Sat Nov 17 20:01:48 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Not only 'export' command broken, but 'cat' too.
'export' was fixed in bzr.dev revno 2966.
Here the patch:
=== modified file 'bzrlib/export/__init__.py'
- --- bzrlib/export/__init__.py 21.09.2006 2:43:18
+++ bzrlib/export/__init__.py 28.10.2007 19:30:25
@@ -92,7 +92,11 @@
if format not in _exporters:
raise errors.NoSuchExportFormat(format)
- - return _exporters[format](tree, dest, root)
+ tree.lock_read()
+ try:
+ return _exporters[format](tree, dest, root)
+ finally:
+ tree.unlock()
def get_root_name(dest):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHP0iszYr338mxwCURAkSPAJ91yimZfcsLHVE8/1lyDQ83+1Ht1gCeM9yM
DMIzo19g7y/kXkj/eC559sg=
=VfeW
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list