mercurial/dispatch.py
changeset 31509 9916b3d579a9
parent 31507 bc315e669a32
child 31634 2632df096fc0
--- a/mercurial/dispatch.py	Sun Mar 19 14:12:38 2017 -0400
+++ b/mercurial/dispatch.py	Sun Mar 19 14:17:07 2017 -0400
@@ -475,7 +475,8 @@
         args = aliasargs(entry[0], args)
         defaults = ui.config("defaults", cmd)
         if defaults:
-            args = map(util.expandpath, pycompat.shlexsplit(defaults)) + args
+            args = pycompat.maplist(
+                util.expandpath, pycompat.shlexsplit(defaults)) + args
         c = list(entry[1])
     else:
         cmd = None