tests/test-check-setup-manifest.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 18 Aug 2018 21:01:14 +0530
branchstable
changeset 3977 a0a4f4de9ea3
parent 2116 39d84b395343
permissions -rw-r--r--
evolvecmd: import mercurial.node module as nodemod We use node as a variable name at few places and the conflicts with variable name are not good. Moreover this practice is followed in core mercurial also.

#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