tests/test-check-setup-manifest.t
author Pulkit Goyal <7895pulkit@gmail.com>
Tue, 05 Sep 2017 14:35:00 +0530
changeset 2942 10194206acc7
parent 2116 39d84b395343
permissions -rw-r--r--
uncommit: pre-indent a block in if-True The block will be moved in if-else in next patch.

#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