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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat May 19 15:28:11 EDT 2018


pulkit added inline comments.

INLINE COMMENTS

> test-patch.t:100
> +
> +  $ hg import ../c/p --config ui.patch="python '$PWD/exit1.py'"
>    applying ../c/p

test-check-code.t says hi:

  +  tests/test-patch.t:100:
  +   >   $ hg import ../c/p --config ui.patch="python '$PWD/exit1.py'"
  +   don't use 'python', use '$PYTHON'
  +   warning: don't use $PWD, use `pwd`
  +  [1]

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list