[PATCH 2 of 2 V2] status: add relative directory help text (issue3835)

Sean Farley sean at farley.io
Thu Mar 26 13:14:59 CDT 2015


# HG changeset patch
# User Yung-Jin (Joey) Hu <yungjinhu at gmail.com>
# Date 1426736402 25200
#      Wed Mar 18 20:40:02 2015 -0700
# Node ID 9f32b7fd438a6ed71442e1f2dcbb93d2f3a0b063
# Parent  3769372acb363c945b444a89dbb510b1c49fa7af
status: add relative directory help text (issue3835)

Previously, it was difficult to find out how to display the status of files
relative to your current working directory. This patch adds that knowledge to
the help text.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5734,10 +5734,15 @@ def status(ui, repo, *pats, **opts):
       - show changes in the working directory relative to a
         changeset::
 
           hg status --rev 9353
 
+      - show changes in the working directory relative to the
+        current directory (see filesets for more information)::
+
+          hg status re:
+
       - show all changes including copies in an existing changeset::
 
           hg status --copies --change 9353
 
       - get a NUL separated list of added files, suitable for xargs::


More information about the Mercurial-devel mailing list