comparison hgext/churn.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 21b12b22c024
children 2150e70c0ee1
comparison
equal deleted inserted replaced
17772:823a7d79ef82 17773:434e5bd615fc
195 ('', 'aliases', '', 195 ('', 'aliases', '',
196 _('file with email aliases'), _('FILE')), 196 _('file with email aliases'), _('FILE')),
197 ] + commands.walkopts, 197 ] + commands.walkopts,
198 _("hg churn [-d DATE] [-r REV] [--aliases FILE] [FILE]")), 198 _("hg churn [-d DATE] [-r REV] [--aliases FILE] [FILE]")),
199 } 199 }
200
201 commands.inferrepo += " churn"