[issue588] New dispatcher code breaks command error reporting

Thomas Arendsen Hein mercurial-bugs at selenic.com
Thu Jun 14 04:56:43 CDT 2007

New submission from Thomas Arendsen Hein <thomas at intevation.de>:

"hg cat" outside a repository yields with current main:
"abort: repository  not found!"
before this it was:
"abort: There is no Mercurial repository here (.hg not found)!"

"hg cat" inside a repository yields a traceback:
TypeError: cat() takes at least 3 non-keyword arguments (2 given)
before this it was:
cat: invalid arguments
followed by 'hg help cat' output.

(not only for hg cat, this is just an example)

This happens since mpm's refactoring of the dispatcher code on June 11th.

messages: 3198
nosy: ThomasAH, mpm
priority: bug
status: unread
title: New dispatcher code breaks command error reporting
topic: ui

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list