Added test for commands.dispatch (especially
88803a69b24)
test-context.py: Don't create second repo instance (fixed since
7b5723c95a82)
fancyopts: Copy list arguments in command table before modifying.
Before this, executing
commands.dispatch(['log', '-r', '0'])
commands.dispatch(['log', '-r', 'tip'])
would look like:
hg log -r 0
hg log -r 0 -r tip
Reported by TK Soh, patch by Alexis S. L. Carvalho