comparison 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
comparison
equal deleted inserted replaced
6798:f46913e52954 6899:43b1fcb4055c
27 @hghave.check("check-manifest", "check-manifest MANIFEST.in checking tool") 27 @hghave.check("check-manifest", "check-manifest MANIFEST.in checking tool")
28 def has_check_manifest(): 28 def has_check_manifest():
29 return hghave.matchoutput('check-manifest --version 2>&1', 29 return hghave.matchoutput('check-manifest --version 2>&1',
30 br'check-manifest version') 30 br'check-manifest version')
31 31
32 @hghave.check("twine", "twine utility for publishing Python packages")
33 def has_twine():
34 return hghave.matchoutput('twine --help 2>&1',
35 br'usage: twine .*\bcheck\b')
36
32 @hghave.check("default-cg3", "changegroup3 by default") 37 @hghave.check("default-cg3", "changegroup3 by default")
33 def has_default_changegroup3(): 38 def has_default_changegroup3():
34 from mercurial import configitems 39 from mercurial import configitems
35 40
36 try: 41 try: