changeset 38165 | 2ce60954b1b7 |
parent 37604 | daafaff4e5be |
child 40293 | c303d65d2e34 |
--- a/hgext/extdiff.py Sat May 26 12:14:04 2018 +0900 +++ b/hgext/extdiff.py Sat May 26 12:20:36 2018 +0900 @@ -71,7 +71,7 @@ import re import shutil import stat -import tempfile + from mercurial.i18n import _ from mercurial.node import ( nullid, @@ -210,7 +210,7 @@ if not common: return 0 - tmproot = tempfile.mkdtemp(prefix='extdiff.') + tmproot = pycompat.mkdtemp(prefix='extdiff.') try: if not opts.get('patch'): # Always make a copy of node1a (and node1b, if applicable)