bugfix: single-argument export was borked

Aaron Bentley aaron.bentley at utoronto.ca
Sat May 7 14:00:41 BST 2005


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

Hi Martin,
Here's a fix for a bug I found in single-arg export.

Aaron

abentley at lappy:~/bzr.dev2$ bzr diff
*** modified file 'bzrlib/commands.py'
- --- bzrlib/commands.py
+++ bzrlib/commands.py
@@ -541,7 +541,7 @@
     def run(self, dest, revno=None):
         b = Branch('.')
         if revno == None:
- -            rh = b.revision_history[-1]
+            rh = b.revision_history()[-1]
         else:
             rh = b.lookup_revision(int(revno))
         t = b.revision_tree(rh)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCfLvm0F+nu1YWqI0RAoUFAJ4rY9aUD0fJwLilAr13ex6OxCeycACeKE5+
pexePmQzI2I7SCNn+/kZwX4=
=l78d
-----END PGP SIGNATURE-----




More information about the bazaar mailing list