changeset 38164 | aac4be30e250 |
parent 38101 | 6acf41bb8d40 |
child 38345 | bec1212eceaa |
--- a/mercurial/ui.py Thu May 03 18:39:58 2018 +0900 +++ b/mercurial/ui.py Sat May 26 12:14:04 2018 +0900 @@ -18,7 +18,6 @@ import socket import subprocess import sys -import tempfile import traceback from .i18n import _ @@ -1446,7 +1445,7 @@ rdir = None if self.configbool('experimental', 'editortmpinhg'): rdir = repopath - (fd, name) = tempfile.mkstemp(prefix='hg-' + extra['prefix'] + '-', + (fd, name) = pycompat.mkstemp(prefix='hg-' + extra['prefix'] + '-', suffix=suffix, dir=rdir) try: