view tests/test-check-setup-manifest.t @ 3572:7934e9751d69

state: add __setitem__() for cmdstate class Adding __setitem__() will help us in setting the value of variables stored in state files using `state[key] = value` in our code which is very convenient.
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 19 Mar 2018 13:11:55 +0530
parents 39d84b395343
children f2139537c2be
line wrap: on
line source

#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