[PATCH 0 of 2] Fix option aliasing between record and commit

Dan Villiom Podlaski Christiansen danchr at gmail.com
Fri Aug 27 09:45:24 CDT 2010


Hi,

Renato Cunha mentioned on IRC that my change in <31f02288bbc4> caused
commit to have the --mq option listed twice.

The root cause of this issue is the one fixed by this patch; the
commit and record commands will use the same option list. Hence,
modifying one will affect both, and both commit and record may end up
with two --mq options in their lists. Please note that the order the
extensions were listed in affects this; some might see only one of the
two have duplicate options, others perhaps neither.

This is a respin of an old patch, which I first submitted in July
2009. It appears it was forgotten. I've adjusted the commit
description and added a test for the bug, but I believe it's unchanged
other than that.

--

- Dan


More information about the Mercurial-devel mailing list