Skip to content
Snippets Groups Projects
Commit 07e479ef authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

hghave: deal with "rc" release

Without this change, 5.0rc0 is not recognised as 5.0
parent 280f7a09
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment