Patchwork [1,of,8,v2] graphlog: update help with replacement

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

Comments

timeless@mozdev.org - Jan. 12, 2016, 7:09 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1452100669 0
#      Wed Jan 06 17:17:49 2016 +0000
# Node ID d6f76936d63726a27ff51917c8aa6b2c28d01ccc
# Parent  4571c0b383378f5eec5189e3a39c672a169ce566
graphlog: update help with replacement

Patch

diff --git a/hgext/graphlog.py b/hgext/graphlog.py
--- a/hgext/graphlog.py
+++ b/hgext/graphlog.py
@@ -8,7 +8,7 @@ 
 '''command to view revision graphs from a shell (DEPRECATED)
 
 The functionality of this extension has been include in core Mercurial
-since version 2.3.
+since version 2.3. Please use :hg:`log -G ...` instead.
 
 This extension adds a --graph option to the incoming, outgoing and log
 commands. When this options is given, an ASCII representation of the
@@ -57,6 +57,8 @@ 
 
     Nodes printed as an @ character are parents of the working
     directory.
+
+    This is an alias to :hg:`log -G`.
     """
     opts['graph'] = True
     return commands.log(ui, repo, *pats, **opts)