Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 23076:c312ef382033 stable
i18n: add hint to digest mismatch message
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Thu, 23 Oct 2014 12:35:10 -0200 |
parents | a0e0aa12b672 |
children | 30124c40d11f |
line wrap: on
line diff
--- a/mercurial/util.py Thu Oct 23 12:28:00 2014 -0200 +++ b/mercurial/util.py Thu Oct 23 12:35:10 2014 -0200 @@ -211,6 +211,7 @@ (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]))