Mercurial > evolve
diff tests/hghaveaddon.py @ 6921:4b843ae726de mercurial-4.9
test-compat: merge mercurial-5.0 into mercurial-4.9
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 18:14:41 +0400 |
parents | 090834ff8209 |
children |
line wrap: on
line diff
--- a/tests/hghaveaddon.py Thu Jun 27 09:47:05 2024 +0400 +++ b/tests/hghaveaddon.py Fri Oct 25 18:14:41 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