Rev 5088: Log revision id as well as revno when committing. in http://bazaar.launchpad.net/~lifeless/bzr/commit

Robert Collins robertc at robertcollins.net
Tue Apr 6 07:40:56 BST 2010


At http://bazaar.launchpad.net/~lifeless/bzr/commit

------------------------------------------------------------
revno: 5088
revision-id: robertc at robertcollins.net-20100406064054-m9k08te0bnn8wd6d
parent: robertc at robertcollins.net-20100312070440-p5udg6m6a1nm073q
fixes bug(s): https://launchpad.net/bugs/526425
committer: Robert Collins <robertc at robertcollins.net>
branch nick: commit
timestamp: Tue 2010-04-06 16:40:54 +1000
message:
  Log revision id as well as revno when committing.
=== modified file 'bzrlib/commit.py'
--- a/bzrlib/commit.py	2010-03-12 07:04:40 +0000
+++ b/bzrlib/commit.py	2010-04-06 06:40:54 +0000
@@ -147,6 +147,12 @@
 
     def completed(self, revno, rev_id):
         self._note('Committed revision %d.', revno)
+        # self._note goes to the console too; so while we want to log the
+        # rev_id, we can't trivially only log it. (See bug 526425). Long
+        # term we should rearrange the reporting structure, but for now
+        # we just mutter seperately. We mutter the revid and revno together
+        # so that concurrent bzr invocations won't lead to confusion.
+        mutter('Committed revid %s as revno %d.', rev_id, revno)
 
     def deleted(self, path):
         self._note('deleted %s', path)




More information about the bazaar-commits mailing list