tests/test-check-setup-manifest.t
author Boris Feld <boris.feld@octobus.net>
Fri, 02 Jun 2017 19:07:35 +0200
branchstable
changeset 2548 3fd4b0dca16c
parent 2116 39d84b395343
permissions -rw-r--r--
effectflag: fix content change detection for filtered revs In some cases (like amended an obsolete changeset), computing the diff and comparing them need to work with filtered revisions. We need to use unfiltered change contexts to safely compute diffs.

#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