view tests/test-check-config.t @ 30043:49d5434d68fb

revset: extract function that creates range set from computed revisions So we can pass m=0 to _makerangeset() even if the revision 0 is hidden. Hidden revisions are filtered by spanset.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 01 Oct 2016 20:11:48 +0900
parents 3c9066ed557c
children 7c11869cf23a
line wrap: on
line source

#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