[PATCH 3 of 3 stable] util, i18n: add hint to digest mismatch message
Wagner Bruna
wbruna at softwareexpress.com.br
Thu Oct 23 15:17:19 UTC 2014
# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1414074910 7200
# Thu Oct 23 12:35:10 2014 -0200
# Branch stable
# Node ID e1812daaf18723738d242cac7a21405f4c958978
# Parent 52449779cbe091da81a266dbb8823ad5c17054bf
util, i18n: add hint to digest mismatch message
diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -211,6 +211,7 @@ class digestchecker(object):
(self._size, self._got))
for k, v in self._digests.items():
if v != self._digester[k]:
+ # i18n: first parameter is a digest name
raise Abort(_('%s mismatch: expected %s, got %s') %
(k, v, self._digester[k]))
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Mercurial-devel
mailing list