compat: fix argument check for marker reading
The previous check was broken for 4.2
--- a/hgext3rd/evolve/obscache.py Tue Jan 16 02:21:44 2018 +0100
+++ b/hgext3rd/evolve/obscache.py Tue Jan 16 03:34:31 2018 +0100
@@ -98,7 +98,7 @@
return obsstore
-if obsolete._fm0readmarkers.__code__.co_argcount > 1:
+if obsolete._fm0readmarkers.__code__.co_argcount > 2:
# hg-4.3+ has the "offset" parameter, and _fm?readmarkers also have an
# extra "stop" parameter
# Note that _readmarkers is wrapped by @util.nogc, so its co_argcount is