tests/test-check-setup-manifest.t
author Boris Feld <boris.feld@octobus.net>
Wed, 17 May 2017 19:20:43 +0200
changeset 2403 1b348702d79e
parent 2116 39d84b395343
permissions -rw-r--r--
obshistory: refactor debugobshistory Rename the function and extract the heavy work of the command in a separate module named obshistory.py

#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