--- a/mercurial/changelog.py Tue Aug 11 14:53:47 2015 -0400
+++ b/mercurial/changelog.py Tue Aug 11 15:06:02 2015 -0400
@@ -186,14 +186,8 @@
return self._nodecache
def reachableroots(self, minroot, heads, roots, includepath=False):
- reachable = self.index.reachableroots(minroot, heads, roots,
- includepath)
- if reachable is None:
- # The C code hasn't been able to initialize a list, something went
- # really wrong, let's rely on the pure implementation in that case
- raise AttributeError()
- else:
- return revset.baseset(sorted(reachable))
+ return revset.baseset(sorted(
+ self.index.reachableroots(minroot, heads, roots, includepath)))
def headrevs(self):
if self.filteredrevs: