Mercurial > hg
comparison mercurial/commands.py @ 1105:a906b018eaef
Replaced hg status -p/--strip with -n/--no-status to not confuse with patch.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 27 Aug 2005 23:23:32 +0200 |
parents | 6f94688b81b6 |
children | 95a044b73bd5 |
comparison
equal
deleted
inserted
replaced
1087:3a1a46dcd397 | 1105:a906b018eaef |
---|---|
1349 | 1349 |
1350 end = opts['print0'] and '\0' or '\n' | 1350 end = opts['print0'] and '\0' or '\n' |
1351 | 1351 |
1352 for opt, char, changes in ([ct for ct in changetypes if opts[ct[0]]] | 1352 for opt, char, changes in ([ct for ct in changetypes if opts[ct[0]]] |
1353 or changetypes): | 1353 or changetypes): |
1354 if opts['strip']: | 1354 if opts['no_status']: |
1355 format = "%%s%s" % end | 1355 format = "%%s%s" % end |
1356 else: | 1356 else: |
1357 format = "%s %%s%s" % (char, end); | 1357 format = "%s %%s%s" % (char, end); |
1358 | 1358 |
1359 for f in changes: | 1359 for f in changes: |
1633 (status, | 1633 (status, |
1634 [('m', 'modified', None, 'show only modified files'), | 1634 [('m', 'modified', None, 'show only modified files'), |
1635 ('a', 'added', None, 'show only added files'), | 1635 ('a', 'added', None, 'show only added files'), |
1636 ('r', 'removed', None, 'show only removed files'), | 1636 ('r', 'removed', None, 'show only removed files'), |
1637 ('u', 'unknown', None, 'show only unknown (not tracked) files'), | 1637 ('u', 'unknown', None, 'show only unknown (not tracked) files'), |
1638 ('p', 'strip', None, 'strip status prefix'), | 1638 ('n', 'no-status', None, 'hide status prefix'), |
1639 ('0', 'print0', None, 'end records with NUL'), | 1639 ('0', 'print0', None, 'end records with NUL'), |
1640 ('I', 'include', [], 'include path in search'), | 1640 ('I', 'include', [], 'include path in search'), |
1641 ('X', 'exclude', [], 'exclude path from search')], | 1641 ('X', 'exclude', [], 'exclude path from search')], |
1642 "hg status [OPTION]... [FILE]..."), | 1642 "hg status [OPTION]... [FILE]..."), |
1643 "tag": | 1643 "tag": |