D2988: fix: use a portable python script instead of sed in test

hooper (Danny Hooper) phabricator at mercurial-scm.org
Mon Apr 2 15:33:18 EDT 2018


hooper added a comment.


  > - subprocess: /usr/bin/python $TESTTMP/uppercase.py 1-1 3-3 +  subprocess: c:/Python27/python.exe $TESTTMP/uppercase.py 1-1 3-3
  
  I had wondered if there's a reason we don't substitute $PYTHON like we do $TESTTMP? The glob makes the test a little weaker.
  
  > I'm not sure if you have any idea why, but it seems like {rootpath} is getting lost on Windows.  (The changes here are because the printfs don't get run properly on Windows when run directly.)
  
  Not sure.

REPOSITORY
  rHG Mercurial

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

To: hooper, #hg-reviewers
Cc: mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list