author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Thu, 25 Apr 2019 19:17:02 +0200 | |
branch | stable |
changeset 42215 | 07e479ef7c96 |
parent 42209 | 280f7a095df8 |
child 42218 | 27b8a6be7281 |
tests/hghave.py | file | annotate | diff | comparison | revisions |
--- a/tests/hghave.py Wed Apr 17 15:06:41 2019 +0300 +++ b/tests/hghave.py Thu Apr 25 19:17:02 2019 +0200 @@ -142,7 +142,7 @@ @checkvers("bzr", "Canonical's Bazaar client >= %s", (1.14,)) def has_bzr_range(v): - major, minor = v.split('.')[0:2] + major, minor = v.split('rc')[0].split('.')[0:2] try: import bzrlib return (bzrlib.__doc__ is not None