diff hgext/hgk.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 38caf405d010
children a08775ec89f2
line wrap: on
line diff
--- a/hgext/hgk.py	Mon Oct 15 09:43:34 2012 -0700
+++ b/hgext/hgk.py	Tue Oct 16 11:43:15 2012 -0700
@@ -350,3 +350,5 @@
           ('n', 'max-count', 0, _('max-count'))],
          _('hg debug-rev-list [OPTION]... REV...')),
 }
+
+commands.inferrepo += " debug-diff-tree debug-cat-file"