changeset 27716:3501bd89dad2

children: update help with replacement
author timeless <timeless@mozdev.org>
date Wed, 06 Jan 2016 17:18:18 +0000
parents f93e7540db8c
children 5deff127286f
files hgext/children.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/children.py	Wed Jan 06 17:17:49 2016 +0000
+++ b/hgext/children.py	Wed Jan 06 17:18:18 2016 +0000
@@ -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_: