[PATCH 1 of 4] Replaced hg status -p/--strip with -n/--no-status to not confuse with patch

Thomas Arendsen Hein thomas at intevation.de
Sat Aug 27 16:40:00 CDT 2005

Patch subject is complete summary.

# HG changeset patch
# User Thomas Arendsen Hein <thomas at intevation.de>
# Node ID a906b018eaef81e71bc046de05f3a428559326ab
# Parent  3a1a46dcd3978a790f4c56486124880dbefeb1d4
Replaced hg status -p/--strip with -n/--no-status to not confuse with patch.

diff -r 3a1a46dcd397 -r a906b018eaef mercurial/commands.py
--- a/mercurial/commands.py	Sat Aug 27 08:55:10 2005
+++ b/mercurial/commands.py	Sat Aug 27 21:23:32 2005
@@ -1351,7 +1351,7 @@
     for opt, char, changes in ([ct for ct in changetypes if opts[ct[0]]]
                                or changetypes):
-        if opts['strip']:
+        if opts['no_status']:
             format = "%%s%s" % end
             format = "%s %%s%s" % (char, end);
@@ -1635,7 +1635,7 @@
           ('a', 'added', None, 'show only added files'),
           ('r', 'removed', None, 'show only removed files'),
           ('u', 'unknown', None, 'show only unknown (not tracked) files'),
-          ('p', 'strip', None, 'strip status prefix'),
+          ('n', 'no-status', None, 'hide status prefix'),
           ('0', 'print0', None, 'end records with NUL'),
           ('I', 'include', [], 'include path in search'),
           ('X', 'exclude', [], 'exclude path from search')],

More information about the Mercurial mailing list