handle hg's new version of ui.promptchoice

The latest versions of hg require a unifed prompt/choices string for ui.promptchoice. This patch sniffs the number of args required and uses the right kind and number of args.