tests/test-check-setup-manifest.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 10 Oct 2017 15:47:11 +0200
branchstable
changeset 3044 b185beb94df5
parent 2116 39d84b395343
permissions -rw-r--r--
topic: reorder revset for faster evaluation When running the revset on unfiltered repository, the mutable set can get huge. So removing the obsolete changeset first provide a large speedup. This resolve the performance regression we were seeing since the 6.7.0 release.

#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