Rev 178: Fixed failing tests. in http://bzr.daniel-watkins.co.uk/pqm/merge-details

Daniel Watkins daniel at daniel-watkins.co.uk
Mon Jul 14 16:39:55 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/merge-details

------------------------------------------------------------
revno: 178
revision-id: daniel at daniel-watkins.co.uk-20080714153828-rbnjfjaqecspx0wl
parent: daniel at daniel-watkins.co.uk-20080714151901-zj954rveplghgtpn
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: merge-details
timestamp: Mon 2008-07-14 16:38:28 +0100
message:
  Fixed failing tests.
-------------- next part --------------
=== modified file 'pqm/__init__.py'
--- a/pqm/__init__.py	2008-07-14 15:19:01 +0000
+++ b/pqm/__init__.py	2008-07-14 15:38:28 +0000
@@ -548,7 +548,7 @@
         # Now that we've committed to the branch, let's include the 
         # commit details in the output
         try:
-            revno, commit_msg = self.get_vcs().latest_revision_info(to_repo_revision)
+            revno, commit_msg = self.get_vcs().latest_revision_info(sender, to_repo_revision)
             self.successful[-1] = ("%s\n" 
                             "Revision: %s \n"
                             "Commit Message: %s" 
@@ -1472,7 +1472,7 @@
         branch = Branch.open(branch_spec)
         branch.create_checkout(output_dir, lightweight=True)
 
-    def latest_revision_info(self, branch_location):
+    def latest_revision_info(self, sender, branch_location):
         from bzrlib.branch import Branch
         branch = Branch.open(branch_location)
         return branch.revno(), branch.repository.get_revision(branch.last_revision()).message



More information about the bazaar-commits mailing list