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

timeless timeless at mozdev.org
Sun Jan 10 13:36:16 CST 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1452100698 0
#      Wed Jan 06 17:18:18 2016 +0000
# Node ID ad3e5e1b9f4d3ec45462d244ea4757a69a954621
# Parent  190ad6bc502ce70b1a431ff599fe46e49ad5a4cd
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