Mercurial > hg
changeset 23802:a3b010f84c57
readmarkers: drop a temporary
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 11 Jan 2015 14:52:57 -0600 |
parents | 20b5701cd90a |
children | 2763edaba857 |
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:51:49 2015 -0600 +++ b/mercurial/obsolete.py Sun Jan 11 14:52:57 2015 -0600 @@ -320,9 +320,8 @@ parents = _unpack(_fm1nodesha1 * numpar, data[o2:o3]) # read metadata - metaformat = '>' + (_fm1metapair * nummeta) off = o3 + _fm1metapairsize * nummeta - metapairsize = _unpack(metaformat, data[o3:off]) + metapairsize = _unpack('>' + (_fm1metapair * nummeta), data[o3:off]) metadata = [] for idx in xrange(0, len(metapairsize), 2): o1 = off + metapairsize[idx]