[PATCH] ui: replace regexp pattern with sequence of choices

Patrick Mézard pmezard at gmail.com
Thu Apr 30 17:10:48 CDT 2009


Steve Borho a écrit :
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1241104532 18000
> # Node ID 473594b6e19989048f62dff71ce726a45de8d150
> # Parent  344751cd8cb88bac208d630f4825068a3170c92f
> ui: replace regexp pattern with sequence of choices
> 
> Use ampersands (&) to delineate the response char in each choice.
> ui.prompt() responses are now explicitly case insensitive.  GUIs
> that subclass ui can generate dialogs from the full choice names.

Pushed: http://hg.intevation.org/mercurial/crew/rev/98acfd1d2b08

Thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list