changeset 3416:bf6b859807ba stable 7.2.0

branching: merge further compat change into stable
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 16 Jan 2018 03:35:24 +0100
parents fb18c54b4d49 (current diff) 740e1267be6f (diff)
children d3a17c67f85c 85cdce113c2c 5432872341c9
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/obscache.py	Tue Jan 16 02:23:35 2018 +0100
+++ b/hgext3rd/evolve/obscache.py	Tue Jan 16 03:35:24 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