##// END OF EJS Templates
localrepo: avoid unnecessary sorting...
Stanislau Hlebik -
r30906:72f25e17 default
parent child Browse files
Show More
@@ -1854,7 +1854,7 b' class localrepository(object):'
1854 def heads(self, start=None):
1854 def heads(self, start=None):
1855 if start is None:
1855 if start is None:
1856 cl = self.changelog
1856 cl = self.changelog
1857 headrevs = sorted(cl.headrevs(), reverse=True)
1857 headrevs = reversed(cl.headrevs())
1858 return [cl.node(rev) for rev in headrevs]
1858 return [cl.node(rev) for rev in headrevs]
1859
1859
1860 heads = self.changelog.heads(start)
1860 heads = self.changelog.heads(start)
General Comments 0
You need to be logged in to leave comments. Login now