Mercurial > hg
comparison mercurial/dispatch.py @ 12800:598bf07fc896 stable
dispatch: backout 0c605364373c
The parenthesis may need translation too: Laurens Holst pointed out
that Japanese uses full-width parentheses: () (U+FF08 U+FF09).
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 21 Oct 2010 11:23:26 +0200 |
parents | 614f0d8724ab |
children | 4d657b524be8 |
comparison
equal
deleted
inserted
replaced
12799:8f71e5074e3c | 12800:598bf07fc896 |
---|---|
22 if '--traceback' in args: | 22 if '--traceback' in args: |
23 u.setconfig('ui', 'traceback', 'on') | 23 u.setconfig('ui', 'traceback', 'on') |
24 except util.Abort, inst: | 24 except util.Abort, inst: |
25 sys.stderr.write(_("abort: %s\n") % inst) | 25 sys.stderr.write(_("abort: %s\n") % inst) |
26 if inst.hint: | 26 if inst.hint: |
27 sys.stderr.write("(%s)\n" % inst.hint) | 27 sys.stderr.write(_("(%s)\n") % inst.hint) |
28 return -1 | 28 return -1 |
29 except error.ParseError, inst: | 29 except error.ParseError, inst: |
30 if len(inst.args) > 1: | 30 if len(inst.args) > 1: |
31 sys.stderr.write(_("hg: parse error at %s: %s\n") % | 31 sys.stderr.write(_("hg: parse error at %s: %s\n") % |
32 (inst.args[1], inst.args[0])) | 32 (inst.args[1], inst.args[0])) |