tests/test-check-setup-manifest.t
author Rodrigo Damazio Bovendorp <rdamazio@google.com>
Tue, 16 May 2017 23:37:10 -0700
branchstable
changeset 2367 3be45918c7b5
parent 2116 39d84b395343
permissions -rw-r--r--
evolve: fixing obscache invalidation This was missing a call to the parent's destroyed(), such that any transaction after stripping some nodes would result in a crash (by attempting to read nodes which were stripped).

#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