diff hgext/mq.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 6c6987761e42
children 0e2846b2482c
line wrap: on
line diff
--- a/hgext/mq.py	Mon Oct 15 09:43:34 2012 -0700
+++ b/hgext/mq.py	Tue Oct 16 11:43:15 2012 -0700
@@ -3602,3 +3602,5 @@
               'qseries.guarded': 'black bold',
               'qseries.missing': 'red bold',
               'qseries.unapplied': 'black bold'}
+
+commands.inferrepo += " qnew qrefresh qdiff qcommit"