run-tests: remove dead code related to temp directory
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 22 Dec 2017 12:22:43 -0700
changeset 35488 4f5596e5e311
parent 35487 bf556bd2f589
child 35489 212a6e9aecb0
run-tests: remove dead code related to temp directory Differential Revision: https://phab.mercurial-scm.org/D1749
tests/run-tests.py
--- a/tests/run-tests.py	Fri Dec 22 13:13:45 2017 -0600
+++ b/tests/run-tests.py	Fri Dec 22 12:22:43 2017 -0700
@@ -2404,11 +2404,6 @@
                 print("error: temp dir %r already exists" % tmpdir)
                 return 1
 
-                # Automatically removing tmpdir sounds convenient, but could
-                # really annoy anyone in the habit of using "--tmpdir=/tmp"
-                # or "--tmpdir=$HOME".
-                #vlog("# Removing temp dir", tmpdir)
-                #shutil.rmtree(tmpdir)
             os.makedirs(tmpdir)
         else:
             d = None