hgext/graphlog.py
changeset 27715 f93e7540db8c
parent 27149 2f804a38351e
child 29123 0e6b5a5aca22
equal deleted inserted replaced
27714:bbb61a8314c3 27715:f93e7540db8c
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 '''command to view revision graphs from a shell (DEPRECATED)
     8 '''command to view revision graphs from a shell (DEPRECATED)
     9 
     9 
    10 The functionality of this extension has been include in core Mercurial
    10 The functionality of this extension has been include in core Mercurial
    11 since version 2.3.
    11 since version 2.3. Please use :hg:`log -G ...` instead.
    12 
    12 
    13 This extension adds a --graph option to the incoming, outgoing and log
    13 This extension adds a --graph option to the incoming, outgoing and log
    14 commands. When this options is given, an ASCII representation of the
    14 commands. When this options is given, an ASCII representation of the
    15 revision graph is also shown.
    15 revision graph is also shown.
    16 '''
    16 '''
    55     Print a revision history alongside a revision graph drawn with
    55     Print a revision history alongside a revision graph drawn with
    56     ASCII characters.
    56     ASCII characters.
    57 
    57 
    58     Nodes printed as an @ character are parents of the working
    58     Nodes printed as an @ character are parents of the working
    59     directory.
    59     directory.
       
    60 
       
    61     This is an alias to :hg:`log -G`.
    60     """
    62     """
    61     opts['graph'] = True
    63     opts['graph'] = True
    62     return commands.log(ui, repo, *pats, **opts)
    64     return commands.log(ui, repo, *pats, **opts)