py3: explicitly convert dict.values() to a list on py3
dict.values() returns a dict_values() object, so we need to pass it into
list() explicitly to get one.
--- a/mercurial/cmdutil.py Fri Jun 16 01:24:31 2017 +0530
+++ b/mercurial/cmdutil.py Fri Jun 16 01:28:23 2017 +0530
@@ -452,7 +452,7 @@
raise error.AmbiguousCommand(cmd, clist)
if choice:
- return choice.values()[0]
+ return list(choice.values())[0]
raise error.UnknownCommand(cmd, allcmds)