hg status cleanups: Don't translate long options, remove stray semicolon.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 17 Mar 2006 18:19:05 +0100
changeset 1966 f8b0e73e320f
parent 1965 62aa1b90414f
child 1968 37dd4928d042
hg status cleanups: Don't translate long options, remove stray semicolon.
mercurial/commands.py
--- a/mercurial/commands.py	Thu Mar 16 06:58:15 2006 +0100
+++ b/mercurial/commands.py	Fri Mar 17 18:19:05 2006 +0100
@@ -2425,11 +2425,11 @@
         [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 @@
         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)