indygreg accepted this revision.
indygreg added inline comments.
This revision is now accepted and ready to land.
> + if r == 0 or rlog.flags(r):
> text = rlog.revision(r, raw=True)
> cachedelta = None
> - # deltaparent is more interesting if it has the EXTSTORED flag.
> - deltaparent = max( + [p for p in range(r - 2) if
> + # deltaparent cannot have EXTSTORED flag.
> + deltaparent = max([-1] + [p for p in range(r) if not
I feel like this should be checking against specific flags. But since this is a
test, I'm fine accepting this. We can fix in a follow-up if the logic is wrong.
To: quark, indygreg, #hg-reviewers, ryanmce
Mercurial-devel mailing list