##// END OF EJS Templates
hg status cleanups: Don't translate long options, remove stray semicolon.
Thomas Arendsen Hein -
r1966:f8b0e73e default
parent child Browse files
Show More
@@ -2425,11 +2425,11 b' def status(ui, repo, *pats, **opts):'
2425 [util.pathto(cwd, x) for x in n]
2425 [util.pathto(cwd, x) for x in n]
2426 for n in repo.changes(files=files, match=matchfn)]
2426 for n in repo.changes(files=files, match=matchfn)]
2427
2427
2428 changetypes = [(_('modified'), 'M', modified),
2428 changetypes = [('modified', 'M', modified),
2429 (_('added'), 'A', added),
2429 ('added', 'A', added),
2430 (_('removed'), 'R', removed),
2430 ('removed', 'R', removed),
2431 (_('deleted'), '!', deleted),
2431 ('deleted', '!', deleted),
2432 (_('unknown'), '?', unknown)]
2432 ('unknown', '?', unknown)]
2433
2433
2434 end = opts['print0'] and '\0' or '\n'
2434 end = opts['print0'] and '\0' or '\n'
2435
2435
@@ -2438,7 +2438,7 b' def status(ui, repo, *pats, **opts):'
2438 if opts['no_status']:
2438 if opts['no_status']:
2439 format = "%%s%s" % end
2439 format = "%%s%s" % end
2440 else:
2440 else:
2441 format = "%s %%s%s" % (char, end);
2441 format = "%s %%s%s" % (char, end)
2442
2442
2443 for f in changes:
2443 for f in changes:
2444 ui.write(format % f)
2444 ui.write(format % f)
General Comments 0
You need to be logged in to leave comments. Login now