changeset 792:36d0e71aa9e4

fastobs: clean up logging a little
author Augie Fackler <raf@durin42.com>
date Fri, 26 Jul 2013 16:08:56 -0400
parents 5f3b53d74b7f
children fa746ef46e8a
files hgfastobs.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgfastobs.py	Fri Jul 26 16:04:40 2013 -0400
+++ b/hgfastobs.py	Fri Jul 26 16:08:56 2013 -0400
@@ -74,8 +74,9 @@
     for node in boxedges:
         transmit.extend(obsolete.successormarkers(urepo[node]))
     xmit, total = len(transmit), len(repo.obsstore._all)
-    repo.ui.status('about to transmit %d obsolete markers (%d markers total)\n'
-                   % (xmit, total))
+    repo.ui.status(
+        'boxpush: about to transmit %d obsolete markers (%d markers total)\n'
+        % (xmit, total))
     parts, size, chunk = [], 0, 0
     for marker in transmit:
         enc = obsolete._encodeonemarker(_markertuple(marker))
@@ -83,7 +84,7 @@
         size += len(enc)
         if size > obsolete._maxpayload:
             repo.ui.note(
-                'obsolete boxpush: sending a chunk of obsolete markers\n')
+                'boxpush: sending a chunk of obsolete markers\n')
             data = ''.join([obsolete._pack('>B', _fmversion)], parts)
             remote.pushkey('obsolete', 'dump%d' % chunk, base85.b85encode(data))
             parts, size = [], 0