view tests/test-check-debian.t @ 6888:1e836ad40272

obslog: use exception to convey the failure to find a diff pair I am not a fan of using exceptions for flow control, but it makes more sense here. The next patch will actually extend the functionality of patchavailable() to potentially return things other than just `cand`, and there the use of this exception will make even more sense.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 22 Sep 2024 12:20:03 +0200
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"