diff mercurial/match.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 92f2c69ee5a5
children 2372182e505b
line wrap: on
line diff
--- a/mercurial/match.py	Tue Jun 07 12:10:01 2016 +0200
+++ b/mercurial/match.py	Tue Jun 14 11:53:55 2016 +0200
@@ -38,7 +38,7 @@
     for kind, pat, source in kindpats:
         if kind == 'set':
             if not ctx:
-                raise error.Abort("fileset expression with no context")
+                raise error.Abort(_("fileset expression with no context"))
             s = ctx.getfileset(pat)
             fset.update(s)