Mercurial > public > mercurial-scm > hg-stable
diff mercurial/utils/procutil.py @ 43096:813aa8cc55d4
patchbomb: use procutil.shellquote() instead of shlex to escape email address
This basically backs out 2cc453284d5c, and inserts procutil.shellquote()
instead. I don't care about Windows compatibility here, but shlex.quote()
can't handle byte strings on Python 3.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 02 Oct 2019 07:35:22 +0900 |
parents | c59eb1560c44 |
children | d783f945a701 |
line wrap: on
line diff
--- a/mercurial/utils/procutil.py Mon Oct 07 11:52:58 2019 -0400 +++ b/mercurial/utils/procutil.py Wed Oct 02 07:35:22 2019 +0900 @@ -77,7 +77,6 @@ spawndetached = platform.spawndetached sshargs = platform.sshargs testpid = platform.testpid -quote = pycompat.shlexquote try: setprocname = osutil.setprocname