# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 2017-12-22 19:22:43
# Node ID 4f5596e5e311cc65d962cf6dd131ce2c37fb2efb
# Parent  bf556bd2f589db3d9952ff269f6faa12875346b9

run-tests: remove dead code related to temp directory

Differential Revision: https://phab.mercurial-scm.org/D1749

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -2404,11 +2404,6 @@ class TestRunner(object):
                 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