Mercurial > hg-stable
changeset 23795:629b345d105f
readmarkers: drop date temporary
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 11 Jan 2015 14:33:49 -0600 |
parents | e1583d70c4f2 |
children | 5fc29b459f6e |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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