Mercurial > evolve
comparison tests/hghaveaddon.py @ 6911:e14ae43aed88 mercurial-5.9
test-compat: merge mercurial-6.0 into mercurial-5.9
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 16:09:37 +0400 |
parents | 090834ff8209 |
children |
comparison
equal
deleted
inserted
replaced
6806:045db43f35b1 | 6911:e14ae43aed88 |
---|---|
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: |