Mercurial > evolve
diff tests/hghaveaddon.py @ 6899:43b1fcb4055c mercurial-6.7
test-compat: merge mercurial-6.8 into mercurial-6.7
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 24 Oct 2024 17:57:11 +0400 |
parents | 090834ff8209 |
children |
line wrap: on
line diff
--- a/tests/hghaveaddon.py Wed Jun 26 13:44:37 2024 +0400 +++ b/tests/hghaveaddon.py Thu Oct 24 17:57:11 2024 +0400 @@ -29,6 +29,11 @@ return hghave.matchoutput('check-manifest --version 2>&1', br'check-manifest version') +@hghave.check("twine", "twine utility for publishing Python packages") +def has_twine(): + return hghave.matchoutput('twine --help 2>&1', + br'usage: twine .*\bcheck\b') + @hghave.check("default-cg3", "changegroup3 by default") def has_default_changegroup3(): from mercurial import configitems