Mercurial > hg-stable
changeset 23800:83f361a21d31
readmarkers: drop a temporary
Two other temporaries are renamed to fit line-length.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 11 Jan 2015 14:46:55 -0600 |
parents | ffca0a14b566 |
children | 20b5701cd90a |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsolete.py Sun Jan 11 14:44:57 2015 -0600 +++ b/mercurial/obsolete.py Sun Jan 11 14:46:55 2015 -0600 @@ -292,8 +292,7 @@ while off <= stop: # read fixed part o1 = off + _fm1fsize - fixeddata = ufixed(data[off:o1]) - ttsize, seconds, tz, flags, numsuc, numpar, nummeta, prec = fixeddata + t, secs, tz, flags, numsuc, numpar, nummeta, prec = ufixed(data[off:o1]) _fm1node = _fm1nodesha1 fnodesize = _fm1nodesha1size @@ -324,7 +323,7 @@ metadata.append((data[off:o1], data[o1:o2])) off = o2 - yield (prec, sucs, flags, tuple(metadata), (seconds, tz * 60), parents) + yield (prec, sucs, flags, tuple(metadata), (secs, tz * 60), parents) def _fm1encodeonemarker(marker): pre, sucs, flags, metadata, date, parents = marker