readmarkers: drop date temporary
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Jan 2015 14:33:49 -0600
changeset 23795 629b345d105f
parent 23794 e1583d70c4f2
child 23796 5fc29b459f6e
readmarkers: drop date temporary
mercurial/obsolete.py
--- a/mercurial/obsolete.py	Sun Jan 11 14:32:56 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 14:33:49 2015 -0600
@@ -294,8 +294,6 @@
         off += _fm1fsize
         ttsize, seconds, tz, flags, numsuc, numpar, nummeta, prec = fixeddata
 
-        # build the date tuple (upgrade tz minutes to seconds)
-        date = (seconds, tz * 60)
         _fm1node = _fm1nodesha1
         fnodesize = _fm1nodesha1size
         if flags & usingsha256:
@@ -328,7 +326,7 @@
             off += sk + sv
         metadata = tuple(metadata)
 
-        yield (prec, sucs, flags, metadata, date, parents)
+        yield (prec, sucs, flags, metadata, (seconds, tz * 60), parents)
 
 def _fm1encodeonemarker(marker):
     pre, sucs, flags, metadata, date, parents = marker