Mercurial > evolve
view tests/test-check-debian.t @ 6736:ce3723b78f91 stable
topic: drop _cleanup_tns_file(), move code directly into wlock()
This way we don't even have to make any assertions about wlock status. This
should be safe, since we have the wlock and it's held, and other processes
cannot acquire it and start messing with wdir, but we're also not inside any
context managers that could be using the wlock, so it cannot be suddenly
released either.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 11 Mar 2024 16:35:29 -0300 |
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"