D2676: tests: stop over-specifying tempfile name

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Mar 8 14:26:12 EST 2018


durin42 added a comment.


  In https://phab.mercurial-scm.org/D2676#43853, @indygreg wrote:
  
  > I'm -0 on this. I'd prefer to change the temp file code to be consistent between Python versions. Preferably standardizing on the Python 3 version.
  
  
  It looks like these are coming from filemerge._maketempfiles, which is using tempfile.mkstemp(). I don't see a way to influence the number of wildcard characters there.

REPOSITORY
  rHG Mercurial

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

To: durin42, pulkit, #hg-reviewers
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list