diff -r e37e9904bf10 -r c5f0825c1dbb mercurial/ui.py --- a/mercurial/ui.py Wed Aug 05 15:00:44 2009 +0200 +++ b/mercurial/ui.py Wed Aug 05 17:08:28 2009 +0200 @@ -288,7 +288,7 @@ """Prompt user with msg, read response, and ensure it matches one of the provided choices. The index of the choice is returned. choices is a sequence of acceptable responses with the format: - ('&None', 'E&xec', 'Sym&link') Responses are case insensitive. + ('&None', 'E&xec', 'Sym&link') Responses are case insensitive. If ui is not interactive, the default is returned. """ resps = [s[s.index('&')+1].lower() for s in choices]