[PATCH] wireproto: enable optional args for known() for future extensibility

Sune Foldager cryo at cyanite.org
Wed May 25 02:01:04 CDT 2011


On 2011-05-25 08:26, Peter Arrenbrecht wrote:
># HG changeset patch
># User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
># Date 1306252096 -7200
># Node ID 9d31f762cdf263329aa80e0b8d9ecc38a2b3bf44
># Parent  bb5cbc16349e47adc8f8300fed3c397e0f54f4ec
>wireproto: enable optional args for known() for future extensibility
>
>Firstly, I think we should do this for all new wire commands, just
>to be on the safe side. So I want to get this into the 1.9 release.

Yes, we definitly should. My original varargs proposal enabled it for
all commands, old or new, in a backwards compatible fashion. (and then
it was done differently ;) ).


More information about the Mercurial-devel mailing list