fastobs: clean up logging a little
authorAugie Fackler <raf@durin42.com>
Fri, 26 Jul 2013 16:08:56 -0400
changeset 792 36d0e71aa9e4
parent 791 5f3b53d74b7f
child 793 fa746ef46e8a
fastobs: clean up logging a little
hgfastobs.py
--- 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