Rev 3831: Use trace.note() rather than pb.note() because pb.note() doesn't get recorded in the log file. in http://bzr.arbash-meinel.com/branches/bzr/brisbane/hack

John Arbash Meinel john at arbash-meinel.com
Wed Dec 24 21:48:26 GMT 2008


At http://bzr.arbash-meinel.com/branches/bzr/brisbane/hack

------------------------------------------------------------
revno: 3831
revision-id: john at arbash-meinel.com-20081224214806-7qax2ikgd12n8ai3
parent: john at arbash-meinel.com-20081224214248-c3bff3zygp13mpq2
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: hack
timestamp: Wed 2008-12-24 15:48:06 -0600
message:
  Use trace.note() rather than pb.note() because pb.note() doesn't get recorded in the log file.
-------------- next part --------------
=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py	2008-12-24 21:42:48 +0000
+++ b/bzrlib/repository.py	2008-12-24 21:48:06 +0000
@@ -3411,10 +3411,10 @@
                     avg_parent = 0
                 for idx in xrange(len(counter)):
                     total_counter[idx] += counter[idx]
-                pb.note('Parent basis:%d cache:%d random:%d, multi: %d'
-                        ' avg: %.3f, %s',
-                        counter[0], counter[1], counter[2], counter[3],
-                        avg_parent, total_counter)
+                note('Parent basis:%d cache:%d random:%d, multi: %d'
+                     ' avg: %.3f, %s',
+                     counter[0], counter[1], counter[2], counter[3],
+                     avg_parent, total_counter)
             except:
                 self.target.abort_write_group()
                 raise



More information about the bazaar-commits mailing list