changeset 35488:4f5596e5e311

run-tests: remove dead code related to temp directory Differential Revision: https://phab.mercurial-scm.org/D1749
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 22 Dec 2017 12:22:43 -0700
parents bf556bd2f589
children 212a6e9aecb0
files tests/run-tests.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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