Mercurial > hg
changeset 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 | 2b3189ec3d14 |
children | 605a8cb61a0c |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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]))