view tests/test-check-config.t @ 28032:8157c6b82f40

update: check command line before modifying repo A failed command should not have any effect on the repo.
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 07 Feb 2016 22:18:24 -0800
parents 8f244b75cc5e
children 3c9066ed557c
line wrap: on
line source

#require test-repo

  $ 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