tests/test-check-setup-manifest.t
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 14 Jul 2017 00:54:48 +0530
changeset 2733 adfbb984ebbb
parent 2116 39d84b395343
permissions -rw-r--r--
topics: check for topic on commit before a user enters message We have a enforce-topic cofig which can forbid user to commit without a topic on it. We used to check topic on a commit after the user enters message, but we should fail early.

#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