diff hgext/graphlog.py @ 17773:434e5bd615fc

commands: don't infer repo for commands like update (issue2748) Maintain a whitelist of commands to infer the repo for instead. The whitelist contains those commands that take file(s) in the working dir as arguments.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 16 Oct 2012 11:43:15 -0700
parents cdf1532d89c6
children 5bb610f87d1d
line wrap: on
line diff
--- a/hgext/graphlog.py	Mon Oct 15 09:43:34 2012 -0700
+++ b/hgext/graphlog.py	Tue Oct 16 11:43:15 2012 -0700
@@ -52,3 +52,5 @@
     directory.
     """
     return cmdutil.graphlog(ui, repo, *pats, **opts)
+
+commands.inferrepo += " glog"