obsolete: use the `version` argument in encodemarkers
Recent scientific studies show that assigning a variable have no effect on
a unrelated constant. We therefore use the variable where we intended to in the
first place.
--- a/mercurial/obsolete.py Fri Sep 12 14:41:43 2014 +0200
+++ b/mercurial/obsolete.py Tue Sep 16 15:56:38 2014 -0700
@@ -227,7 +227,7 @@
# markers exchange.
encodeone = formats[version][1]
if addheader:
- yield _pack('>B', _fm0version)
+ yield _pack('>B', version)
for marker in markers:
yield encodeone(marker)