Rev 181: Wrapped the call to Bazaar2Handler.branch_exists. in http://bzr.daniel-watkins.co.uk/pqm/unknown-branch-formats

Daniel Watkins daniel at daniel-watkins.co.uk
Tue Jul 15 12:26:33 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/unknown-branch-formats

------------------------------------------------------------
revno: 181
revision-id: daniel at daniel-watkins.co.uk-20080715112514-5e6vvkrg9jk38mn9
parent: daniel at daniel-watkins.co.uk-20080715111508-p4knrmwk91o3y3eu
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: unknown-branch-formats
timestamp: Tue 2008-07-15 12:25:14 +0100
message:
  Wrapped the call to Bazaar2Handler.branch_exists.
-------------- next part --------------
=== modified file 'pqm/__init__.py'
--- a/pqm/__init__.py	2008-07-15 11:15:08 +0000
+++ b/pqm/__init__.py	2008-07-15 11:25:14 +0000
@@ -571,7 +571,9 @@
 
     def get_branch_handler(self, branchspec):
         handler = Bazaar2Handler()
-        if handler.branch_exists(self.script.getSender(), branchspec):
+        branch_exists = self.wrap_command(
+            handler.branch_exists, "", self.script.getSender(), branchspec)
+        if branch_exists:
             return handler
         handler = self.get_arch_impl()
         return handler



More information about the bazaar-commits mailing list