Mercurial > public > mercurial-scm > hg
diff hgext/record.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 | cd73bbc99bdc |
children | 09a2b6741695 |
line wrap: on
line diff
--- a/hgext/record.py Mon Oct 15 09:43:34 2012 -0700 +++ b/hgext/record.py Tue Oct 16 11:43:15 2012 -0700 @@ -667,3 +667,5 @@ def _wrapcmd(cmd, table, wrapfn, msg): entry = extensions.wrapcommand(table, cmd, wrapfn) entry[1].append(('i', 'interactive', None, msg)) + +commands.inferrepo += " record qrecord"