comparison mercurial/commands.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 1c523c4008f7
children 9912baaae7df
comparison
equal deleted inserted replaced
17772:823a7d79ef82 17773:434e5bd615fc
5909 norepo = ("clone init version help debugcommands debugcomplete" 5909 norepo = ("clone init version help debugcommands debugcomplete"
5910 " debugdate debuginstall debugfsinfo debugpushkey debugwireargs" 5910 " debugdate debuginstall debugfsinfo debugpushkey debugwireargs"
5911 " debugknown debuggetbundle debugbundle") 5911 " debugknown debuggetbundle debugbundle")
5912 optionalrepo = ("identify paths serve showconfig debugancestor debugdag" 5912 optionalrepo = ("identify paths serve showconfig debugancestor debugdag"
5913 " debugdata debugindex debugindexdot debugrevlog") 5913 " debugdata debugindex debugindexdot debugrevlog")
5914 inferrepo = ("add addremove annotate cat commit diff grep forget log parents"
5915 " remove resolve status debugwalk")