Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 10829:56fffc9c8928
cmdutil: do not translate trivial string
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 05 Apr 2010 01:00:14 +0200 |
parents | 36c6a667d733 |
children | 8d5f5122a732 |
comparison
equal
deleted
inserted
replaced
10828:1aa9464ce9ae | 10829:56fffc9c8928 |
---|---|
942 | 942 |
943 except KeyError, inst: | 943 except KeyError, inst: |
944 msg = _("%s: no key named '%s'") | 944 msg = _("%s: no key named '%s'") |
945 raise util.Abort(msg % (self.t.mapfile, inst.args[0])) | 945 raise util.Abort(msg % (self.t.mapfile, inst.args[0])) |
946 except SyntaxError, inst: | 946 except SyntaxError, inst: |
947 raise util.Abort(_('%s: %s') % (self.t.mapfile, inst.args[0])) | 947 raise util.Abort('%s: %s' % (self.t.mapfile, inst.args[0])) |
948 | 948 |
949 def show_changeset(ui, repo, opts, buffered=False, matchfn=False): | 949 def show_changeset(ui, repo, opts, buffered=False, matchfn=False): |
950 """show one changeset using template or regular display. | 950 """show one changeset using template or regular display. |
951 | 951 |
952 Display format will be the first non-empty hit of: | 952 Display format will be the first non-empty hit of: |