D5238: tests: work around `tac` not being portable

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Nov 7 12:25:50 EST 2018


martinvonz added inline comments.

INLINE COMMENTS

> test-fix.t:1125
>    $ hg fix -w --config fix.sometool:fileset=bar.txt \
> -  >           --config fix.sometool:command=tac
> +  >           --config fix.sometool:command="$PYTHON $TAC"
>    the fix.tool:fileset config name is deprecated; please rename it to fix.tool:pattern

Could the tool be `sort -r`? I know that's not generally equivalent to `tac`, but it seems like it might work here (it's kind of a reasonable fix tool too).

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list