tests/test-check-setup-manifest.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 26 Dec 2019 20:17:01 +0100
changeset 5030 1403cc7c2cee
parent 2116 39d84b395343
permissions -rw-r--r--
evolve: rename some variable ahead of time A refactoring of the content divergence resolution in on its way. use a distinctive name for some variable early to make the change easier to read later.

#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