Patchwork D1749: run-tests: remove dead code related to temp directory

login
register
mail settings
Submitter phabricator
Date Dec. 23, 2017, 2:08 a.m.
Message ID <5e93cc0c6378e7e3b7597f68ce817f89@localhost.localdomain>
Download mbox | patch
Permalink /patch/26424/
State Not Applicable
Headers show

Comments

phabricator - Dec. 23, 2017, 2:08 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4f5596e5e311: run-tests: remove dead code related to temp directory (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1749?vs=4587&id=4599

REVISION DETAIL
  https://phab.mercurial-scm.org/D1749

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, quark, yuja
Cc: mercurial-devel

Patch

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 @@ 
                 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