# HG changeset patch # User Augie Fackler <au...@google.com> # Date 1489947427 14400 # Sun Mar 19 14:17:07 2017 -0400 # Node ID dec51b4b12490adab91d55d46c9db0cb77637a28 # Parent b68f9464efb7ef50f6f0a8f811da91b414546e20 dispatch: use pycompat.maplist to allow summing with args
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -480,7 +480,8 @@ def _parse(ui, args): 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 _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel