view tests/test-check-debian.t @ 5775:4a38b12141b5

evolvecmd: extract function for rewriting hashes in commit message The logic for rewriting hashes is somewhat long and well isolated, so a function makes good sense.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 15 Oct 2020 15:16:36 -0700
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"