Mercurial > hg
changeset 23792:db3bc2bcb689
readmarkers: add some whitespace
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 10 Jan 2015 21:27:29 -0600 |
parents | 2e58b062aa35 |
children | 201e15167d99 |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsolete.py Sat Jan 10 21:25:07 2015 -0600 +++ b/mercurial/obsolete.py Sat Jan 10 21:27:29 2015 -0600 @@ -293,6 +293,7 @@ fixeddata = _unpack(_fm1fixed, data[off:off + _fm1fsize]) 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 @@ -300,12 +301,14 @@ if flags & usingsha256: _fm1node = _fm1nodesha256 fnodesize = _fm1nodesha256size + # read replacement sucs = () if numsuc: s = (fnodesize * numsuc) sucs = _unpack(_fm1node * numsuc, data[off:off + s]) off += s + # read parents if numpar == _fm1parentnone: parents = None @@ -315,6 +318,7 @@ s = (fnodesize * numpar) parents = _unpack(_fm1node * numpar, data[off:off + s]) off += s + # read metadata metaformat = '>' + (_fm1metapair * nummeta) s = _fm1metapairsize * nummeta