comparison 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
comparison
equal deleted inserted replaced
17772:823a7d79ef82 17773:434e5bd615fc
348 ('t', 'topo-order', None, _('topo-order')), 348 ('t', 'topo-order', None, _('topo-order')),
349 ('p', 'parents', None, _('parents')), 349 ('p', 'parents', None, _('parents')),
350 ('n', 'max-count', 0, _('max-count'))], 350 ('n', 'max-count', 0, _('max-count'))],
351 _('hg debug-rev-list [OPTION]... REV...')), 351 _('hg debug-rev-list [OPTION]... REV...')),
352 } 352 }
353
354 commands.inferrepo += " debug-diff-tree debug-cat-file"