comparison tests/hghaveaddon.py @ 6901:1926d8d38aac mercurial-6.5

test-compat: merge mercurial-6.6 into mercurial-6.5
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 24 Oct 2024 17:57:15 +0400
parents 090834ff8209
children
comparison
equal deleted inserted replaced
6800:2fa2fe1284ba 6901:1926d8d38aac
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: