tests/test-check-setup-manifest.t
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 11 Dec 2017 23:47:25 +0530
branchstable
changeset 3278 e4c0332ecee4
parent 2116 39d84b395343
permissions -rw-r--r--
topics: fix `hg stack` in case of split This patch fixes the behaviour of hg stack which throws an error in some cases when there are multiple successors. The case of divergence is not handled yet.

#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