view tests/test-check-setup-manifest.t @ 3927:b4589df6d3aa stable

compat: make compatible call to ui.edit for hg <= 4.3 This is similar to what is already happening elsewhere.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 02 Aug 2018 04:11:54 +0200
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