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

login
register
mail settings
Submitter phabricator
Date Dec. 22, 2017, 8:02 p.m.
Message ID <differential-rev-PHID-DREV-igpsy6ycufcq54cfcop4-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26411/
State Superseded
Headers show

Comments

phabricator - Dec. 22, 2017, 8:02 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
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