Mercurial > hg-stable
changeset 5167:aba624d2301d
fix bundlerepo broken by 4205f626dc05
since we now use struct in case of lazy parser, this have to be an integer
instead of None
see issue681
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 14 Aug 2007 18:25:27 +0200 |
parents | b1e147f60d62 |
children | 8114142092a8 |
files | mercurial/bundlerepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Tue Aug 14 16:30:38 2007 +0200 +++ b/mercurial/bundlerepo.py Tue Aug 14 18:25:27 2007 +0200 @@ -56,8 +56,8 @@ if not prev: prev = p1 - # start, size, base is not used, link, p1, p2, delta ref - e = (revlog.offset_type(start, 0), size, -1, None, link, + # start, size, full unc. size, base (unused), link, p1, p2, node + e = (revlog.offset_type(start, 0), size, -1, -1, link, self.rev(p1), self.rev(p2), node) self.basemap[n] = prev self.index.insert(-1, e)