diff -r f3075ffa6b30 -r 5f7ee3db3dd8 mercurial/manifest.py --- a/mercurial/manifest.py Thu Aug 19 13:25:46 2010 +0200 +++ b/mercurial/manifest.py Wed Aug 18 19:45:52 2010 +0200 @@ -188,11 +188,7 @@ if dstart != None: delta.append([dstart, dend, "".join(dline)]) # apply the delta to the addlist, and get a delta for addrevision - cachedelta = addlistdelta(addlist, delta) - - # the delta is only valid if we've been processing the tip revision - if p1 != self.tip(): - cachedelta = None + cachedelta = (self.rev(p1), addlistdelta(addlist, delta)) arraytext = addlist text = buffer(arraytext)