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

login
register
mail settings
Submitter timeless@mozdev.org
Date Jan. 12, 2016, 7:09 a.m.
Message ID <34410a67431f62cc42fd.1452582583@waste.org>
Download mbox | patch
Permalink /patch/12681/
State Accepted
Headers show

Comments

timeless@mozdev.org - Jan. 12, 2016, 7:09 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1452100698 0
#      Wed Jan 06 17:18:18 2016 +0000
# Node ID 34410a67431f62cc42fdd5bf19435b161e9d7089
# Parent  d6f76936d63726a27ff51917c8aa6b2c28d01ccc
children: update help with replacement

Patch

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_: