changeset 18989:12a3474c1634

revlog: don't cross-check ancestor result against Python version
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 16 Apr 2013 10:08:20 -0700
parents 5bae936764bb
children 7373be706f02
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Tue Apr 16 10:08:20 2013 -0700
+++ b/mercurial/revlog.py	Tue Apr 16 10:08:20 2013 -0700
@@ -708,9 +708,6 @@
         a, b = self.rev(a), self.rev(b)
         try:
             ancs = self.index.ancestors(a, b)
-            old = ancestor.ancestors(self.parentrevs, a, b)
-            assert set(ancs) == old, ('opinions differ over ancestor(%d, %d)' %
-                                      (a, b))
         except (AttributeError, OverflowError):
             ancs = ancestor.ancestors(self.parentrevs, a, b)
         if ancs: