tests/test-check-config.t
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 22 Mar 2017 16:36:53 -0700
changeset 31591 2c02bb7fd7fc
parent 29219 3c9066ed557c
child 32846 7c11869cf23a
permissions -rw-r--r--
help: format ``commands`` heading correctly The number of dashes under it needs to match exactly for it to be rendered as a heading. Without this change, the dashes end up on the same line as "commands", and "hg help config.commands" does not work.

#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