view tests/test-check-debian.t @ 6831:4f02e7f8d56c stable

evolve: check that the evolved revisions are indeed in the repo during abort Otherwise we might trigger an error while trying to access a revision that was saved into evolvestate, but wasn't yet created in the repo for whatever reason.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 23 Aug 2024 17:00:28 +0400
parents 56eb528820d7
children
line wrap: on
line source

#require test-repo

Enable obsolescence to avoid the warning issue when obsmarkers are found

  $ cat << EOF >> $HGRCPATH
  > [experimental]
  > evolution = all
  > EOF

  $ "$PYTHON" "$TESTDIR/testlib/check-min-versions.py" \
  > "$TESTDIR/../hgext3rd/evolve/metadata.py" "$TESTDIR/../debian/control"

  $ "$PYTHON" "$TESTDIR/testlib/check-min-versions.py" \
  > "$TESTDIR/../hgext3rd/topic/__init__.py" "$TESTDIR/../debian/control"