Patchwork [1,of,2] graphlog: rename glog function

login
register
mail settings
Submitter timeless@mozdev.org
Date Nov. 29, 2015, 6:54 a.m.
Message ID <e9ba1888f28876c339fc.1448780074@waste.org>
Download mbox | patch
Permalink /patch/11669/
State Accepted
Headers show

Comments

timeless@mozdev.org - Nov. 29, 2015, 6:54 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1448779883 0
#      Sun Nov 29 06:51:23 2015 +0000
# Node ID e9ba1888f28876c339fc1532108df246a60558a5
# Parent  61fbf5dc12b23e7a2a30cf04ebd9f096c42a1f61
graphlog: rename glog function

I see no reason for the function not to be glog ...

Patch

diff --git a/hgext/graphlog.py b/hgext/graphlog.py
--- a/hgext/graphlog.py
+++ b/hgext/graphlog.py
@@ -49,7 +49,7 @@ 
     ] + commands.logopts + commands.walkopts,
     _('[OPTION]... [FILE]'),
     inferrepo=True)
-def graphlog(ui, repo, *pats, **opts):
+def glog(ui, repo, *pats, **opts):
     """show revision history alongside an ASCII revision graph
 
     Print a revision history alongside a revision graph drawn with