tests/test-check-config.t
author Yuya Nishihara <yuya@tcha.org>
Mon, 09 Jan 2017 17:58:19 +0900
changeset 30804 4227f80f72b2
parent 29219 3c9066ed557c
child 32864 7c11869cf23a
permissions -rw-r--r--
revset: abuse x:y syntax to specify line range of followlines() This slightly complicates the parsing (see the previous patch), but the overall result seems not bad. I keep x:, :y and : for future extension.

#require test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"
  $ cd "$TESTDIR"/..

New errors are not allowed. Warnings are strongly discouraged.

  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
  >   python contrib/check-config.py