branch | stable |
changeset 42159 | 07e479ef7c96 |
parent 41847 | 28842adf8ed5 |
child 43076 | 2372284d9457 |
--- 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