[PATCH 2 of 8 v2] children: update help with replacement

timeless timeless at mozdev.org
Tue Jan 12 01:09:43 CST 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1452100698 0
#      Wed Jan 06 17:18:18 2016 +0000
# Node ID 34410a67431f62cc42fdd5bf19435b161e9d7089
# Parent  d6f76936d63726a27ff51917c8aa6b2c28d01ccc
children: update help with replacement

diff --git a/hgext/children.py b/hgext/children.py
--- a/hgext/children.py
+++ b/hgext/children.py
@@ -40,6 +40,14 @@
     be printed. If a file argument is given, revision in which the
     file was last changed (after the working directory revision or the
     argument to --rev if given) is printed.
+
+    Please use :hg:`log` instead::
+
+        hg children => hg log -r "children()"
+        hg children -r REV => hg log -r "children(REV)"
+
+    See :hg:`help log` and :hg:`help revsets.children`.
+
     """
     rev = opts.get('rev')
     if file_:


More information about the Mercurial-devel mailing list