readmarkers: drop metadata temporary
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Jan 2015 14:35:03 -0600
changeset 23796 5fc29b459f6e
parent 23795 629b345d105f
child 23797 eb12c3cf210c
readmarkers: drop metadata temporary
mercurial/obsolete.py
--- a/mercurial/obsolete.py	Sun Jan 11 14:33:49 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 14:35:03 2015 -0600
@@ -324,9 +324,8 @@
             sv = metapairsize[idx + 1]
             metadata.append((data[off:off + sk], data[off + sk:off + sk + sv]))
             off += sk + sv
-        metadata = tuple(metadata)
 
-        yield (prec, sucs, flags, metadata, (seconds, tz * 60), parents)
+        yield (prec, sucs, flags, tuple(metadata), (seconds, tz * 60), parents)
 
 def _fm1encodeonemarker(marker):
     pre, sucs, flags, metadata, date, parents = marker