Closed by commit rHG8f26dd09aa78: mail: use procutil.shellsplit instead of
bytes.split to parse command (authored by jcristau).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7541?vs=18419&id=18576
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7541/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7541
AFFECTED FILES
mercurial/mail.py
CHANGE DETAILS
diff --git a/mercurial/mail.py b/mercurial/mail.py
--- a/mercurial/mail.py
+++ b/mercurial/mail.py
@@ -197,7 +197,7 @@
raise error.Abort(
b'%s %s'
% (
-os.path.basename(program.split(None, 1)[0]),
+os.path.basename(procutil.shellsplit(program)[0]),
procutil.explainexit(ret),
)
)
To: jcristau, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel