diff mercurial/bundlerepo.py @ 29389:98e8313dcd9e

i18n: translate abort messages I found a few places where message given to abort is not translated, I don't find any reason to not translate them.
author liscju <piotr.listkiewicz@gmail.com>
date Tue, 14 Jun 2016 11:53:55 +0200
parents dac81729fea4
children ff5d5751fc1b
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Tue Jun 07 12:10:01 2016 +0200
+++ b/mercurial/bundlerepo.py	Tue Jun 14 11:53:55 2016 +0200
@@ -291,7 +291,7 @@
                                                     ".cg%sun" % version)
 
             if cgstream is None:
-                raise error.Abort('No changegroups found')
+                raise error.Abort(_('No changegroups found'))
             cgstream.seek(0)
 
             self.bundle = changegroup.getunbundler(version, cgstream, 'UN')