[PATCH] bundle2: reword debug message for invalid .hgtags data

Gregory Szorc gregory.szorc at gmail.com
Sun Jun 21 01:03:43 UTC 2015


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1434848618 25200
#      Sat Jun 20 18:03:38 2015 -0700
# Node ID da1642f7520fe9a570e2767d24faa4f0ead1ef39
# Parent  7fdd1782fc4ee9da87d8af13e806dc9055db2c38
bundle2: reword debug message for invalid .hgtags data

marmoute requested a follow-up to make the verb the first word.

diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py
--- a/mercurial/bundle2.py
+++ b/mercurial/bundle2.py
@@ -1400,9 +1400,9 @@ def handlehgtagsfnodes(op, inpart):
     while True:
         node = inpart.read(20)
         fnode = inpart.read(20)
         if len(node) < 20 or len(fnode) < 20:
-            op.ui.debug('received incomplete .hgtags fnodes data, ignoring\n')
+            op.ui.debug('ignoring incomplete received .hgtags fnodes data\n')
             break
         cache.setfnode(node, fnode)
         count += 1
 


More information about the Mercurial-devel mailing list