From 2ed1adf167bbd19148c146181364c1b906a90cad Mon Sep 17 00:00:00 2001 From: Thomas Arendsen Hein Date: Fri, 17 Mar 2006 18:19:05 +0100 Subject: [PATCH] hg status cleanups: Don't translate long options, remove stray semicolon. --- mercurial/commands.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mercurial/commands.py b/mercurial/commands.py index cafdc3e590..a0fce5abea 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2425,11 +2425,11 @@ def status(ui, repo, *pats, **opts): [util.pathto(cwd, x) for x in n] for n in repo.changes(files=files, match=matchfn)] - changetypes = [(_('modified'), 'M', modified), - (_('added'), 'A', added), - (_('removed'), 'R', removed), - (_('deleted'), '!', deleted), - (_('unknown'), '?', unknown)] + changetypes = [('modified', 'M', modified), + ('added', 'A', added), + ('removed', 'R', removed), + ('deleted', '!', deleted), + ('unknown', '?', unknown)] end = opts['print0'] and '\0' or '\n' @@ -2438,7 +2438,7 @@ def status(ui, repo, *pats, **opts): if opts['no_status']: format = "%%s%s" % end else: - format = "%s %%s%s" % (char, end); + format = "%s %%s%s" % (char, end) for f in changes: ui.write(format % f)