obsolete: make optional offset parameter to fm*readmarkers required
It was always passed by the only callsite, so just make it required.
--- a/mercurial/obsolete.py Tue Feb 03 17:54:01 2015 -0600
+++ b/mercurial/obsolete.py Tue Jan 20 09:38:22 2015 -0500
@@ -146,7 +146,7 @@
_fm0fsize = _calcsize(_fm0fixed)
_fm0fnodesize = _calcsize(_fm0node)
-def _fm0readmarkers(data, off=0):
+def _fm0readmarkers(data, off):
# Loop on markers
l = len(data)
while off + _fm0fsize <= l:
@@ -285,7 +285,7 @@
_fm1metapair = 'BB'
_fm1metapairsize = _calcsize('BB')
-def _fm1readmarkers(data, off=0):
+def _fm1readmarkers(data, off):
# make some global constants local for performance
noneflag = _fm1parentnone
sha2flag = usingsha256