# HG changeset patch # User Augie Fackler # Date 1374869336 14400 # Node ID 36d0e71aa9e4a22168aa831a1988d483a2071043 # Parent 5f3b53d74b7f6e3f215982732debaea583adbcc0 fastobs: clean up logging a little diff -r 5f3b53d74b7f -r 36d0e71aa9e4 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