changeset 23796:5fc29b459f6e

readmarkers: drop metadata temporary
author Matt Mackall <mpm@selenic.com>
date Sun, 11 Jan 2015 14:35:03 -0600
parents 629b345d105f
children eb12c3cf210c
files mercurial/obsolete.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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