[PATCH 3 of 3 STABLE V2] alias: change return code of bad definition to 255

Yuya Nishihara yuya at tcha.org
Sat May 17 02:32:35 CDT 2014


On Sat, 17 May 2014 16:24:31 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1400307258 -32400
> #      Sat May 17 15:14:18 2014 +0900
> # Branch stable
> # Node ID d2adada4b4703dc6fd1d2430021f561bfd340b20
> # Parent  720d61883ab5965725a01dcad31241e74478b785
> alias: change return code of bad definition to 255

I didn't mark this patch as "BC" because the return code wasn't propagated to
the system, so this change would be okay for stable.

> It can't raise util.Abort because help module executes badalias command to get
> error message.

http://selenic.com/repo/hg/file/28414e5ac9ec/mercurial/help.py#l236

I'll make a patch to clean up things.

Regards,


More information about the Mercurial-devel mailing list