[PATCH 1 of 1 RFC] alias: don't shadow commands that we only partially matched (issue2993)

Matt Mackall mpm at selenic.com
Tue Oct 11 23:35:42 CDT 2011


On Tue, 2011-10-11 at 17:40 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <durin42 at gmail.com>
> # Date 1318371603 18000
> # Node ID 9a8ef1a3956e01797c571ef9c01d8f53a060c0d9
> # Parent  c81dce8a7bb642248b787c3139409d94dbe998ab
> alias: don't shadow commands that we only partially matched (issue2993)
> 
> Previously, if you set an alias for "ci", it'd also shadow "commit"
> even though you didn't specify that. This occurred for all commands
> with explicit short variations.

I've queued this, thanks. I've added a BC flag here on the off chance
someone was depending on aliasing checkout changing the behavior of
update.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list