Mercurial > hg
view mercurial/templates/spartan/notfound.tmpl @ 44436:09f3e003fc2a
phabricator: avoid a stacktrace when command arguments are missing
Previously, the TypeError wasn't properly converted to a SignatureError when
improper arguments were supplied to the inner function, because the stack depth
is 2 inside the vcrcommand decorator. The `__name__` and `__doc__` attributes
need to be reassigned to the new wrapper so that the help summary is available.
Differential Revision: https://phab.mercurial-scm.org/D8209
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 04 Mar 2020 00:45:54 -0500 |
parents | 9409aeaafdc1 |
children |
line wrap: on
line source
{header} <title>Mercurial repository not found</title> </head> <body> <h2>Mercurial repository not found</h2> The specified repository "{repo|escape}" is unknown, sorry. Please go back to the <a href="{url|urlescape}">main repository list page</a>. {footer}