Mercurial > public > mercurial-scm > hg
diff mercurial/scmutil.py @ 39836:f1d6021453c2
py3: remove a couple of superfluous calls to pycompat.rapply()
These places can only be strings.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 25 Sep 2018 23:25:36 -0400 |
parents | c31ce080eb75 |
children | 1c3f1491965f |
line wrap: on
line diff
--- a/mercurial/scmutil.py Tue Sep 25 22:11:17 2018 -0400 +++ b/mercurial/scmutil.py Tue Sep 25 23:25:36 2018 -0400 @@ -1339,7 +1339,7 @@ if spec.startswith("shell:"): # external commands should be run relative to the repo root cmd = spec[6:] - proc = subprocess.Popen(pycompat.rapply(procutil.tonativestr, cmd), + proc = subprocess.Popen(procutil.tonativestr(cmd), shell=True, bufsize=-1, close_fds=procutil.closefds, stdout=subprocess.PIPE,