tests/test-check-setup-manifest.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 24 Jul 2017 01:04:40 +0200
changeset 2778 766b38594ded
parent 2116 39d84b395343
permissions -rw-r--r--
precheck: use 'changesets' in the message instead of 'revisions' This match the message `hg commit --amend` issue in core.

#require test-repo

  $ checkcm() {
  >   if ! (which check-manifest > /dev/null); then
  >     echo skipped: missing tool: check-manifest;
  >     exit 80;
  >   fi;
  > };
  $ checkcm
  $ cat << EOF >> $HGRCPATH
  > [experimental]
  > evolution=all
  > EOF

Run check manifest:

  $ cd $TESTDIR/..
  $ check-manifest
  lists of files in version control and sdist match