hgext/graphlog.py
changeset 21782 404eca1ce4f9
parent 20118 6ed9141151bf
child 23091 8d43c6bb38c0
--- a/hgext/graphlog.py	Sun May 04 22:29:27 2014 -0700
+++ b/hgext/graphlog.py	Sun May 04 22:28:46 2014 -0700
@@ -43,7 +43,8 @@
     ('P', 'prune', [],
      _('do not display revision or any of its ancestors'), _('REV')),
     ] + commands.logopts + commands.walkopts,
-    _('[OPTION]... [FILE]'))
+    _('[OPTION]... [FILE]'),
+    inferrepo=True)
 def graphlog(ui, repo, *pats, **opts):
     """show revision history alongside an ASCII revision graph
 
@@ -54,5 +55,3 @@
     directory.
     """
     return cmdutil.graphlog(ui, repo, *pats, **opts)
-
-commands.inferrepo += " glog"