Rev 4135: Shellcompletion apparently isn't tested. in http://people.ubuntu.com/~robertc/baz2.0/integration

Robert Collins robertc at robertcollins.net
Mon Jun 15 12:05:42 BST 2009


At http://people.ubuntu.com/~robertc/baz2.0/integration

------------------------------------------------------------
revno: 4135
revision-id: robertc at robertcollins.net-20090615110533-fwqo9nnlynbp1o42
parent: robertc at robertcollins.net-20090615102208-35q3sg050vbxd32e
committer: Robert Collins <robertc at robertcollins.net>
branch nick: integration
timestamp: Mon 2009-06-15 21:05:33 +1000
message:
  Shellcompletion apparently isn't tested.
=== modified file 'bzrlib/shellcomplete.py'
--- a/bzrlib/shellcomplete.py	2009-05-23 21:01:51 +0000
+++ b/bzrlib/shellcomplete.py	2009-06-15 11:05:33 +0000
@@ -60,12 +60,14 @@
     import commands
     from inspect import getdoc
 
+    commands.install_bzr_command_hooks()
+
     if outfile is None:
         outfile = sys.stdout
 
     cmds = []
     for cmdname in commands.all_command_names():
-        cmd = commands.get_cmd_object(cmdname)))
+        cmd = commands.get_cmd_object(cmdname)
         cmds.append((cmdname, cmd))
         for alias in cmd.aliases:
             cmds.append((alias, cmd))




More information about the bazaar-commits mailing list