D3620: tests: fix test-patch.t on picker /bin/sh implementations

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu May 24 12:32:35 EDT 2018


durin42 added a comment.


  In https://phab.mercurial-scm.org/D3620#57367, @martinvonz wrote:
  
  > > FreeBSD sh(1) doesn't accept -d, so we weren't testing what we
  > >  expected there. Let's just use a simple Python script instead.
  >
  > This confused me for longer than it should. I assume you just mean -c instead of -d.
  
  
  No, I actually mean -d. We *add* `-d $PWD` to the invocation of the patch tool internally before invoking it.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list