tests/test-check-setup-manifest.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 18 Aug 2018 20:24:41 +0530
branchstable
changeset 3976 d081528bb372
parent 2116 39d84b395343
permissions -rw-r--r--
tests: demonstrate the interrupted evolve does not set p2 This patch adds a test to demonstrate issue5927 which is about evolving not setting p2 correctly in interruption.

#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