tests/test-check-setup-manifest.t
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 16 Mar 2018 14:59:10 +0530
branchstable
changeset 3531 b3d2e0576d4c
parent 2116 39d84b395343
permissions -rw-r--r--
prev: add a test case which shows traceback when doing prev on obsolete cset This patch adds a test which shows how `hg prev` is borken when called from a obsolete changeset and there is an active topic. The next patch will fix that.

#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