Show More
@@ -1852,6 +1852,10 b' class localrepository(object):' | |||
|
1852 | 1852 | listsubrepos) |
|
1853 | 1853 | |
|
1854 | 1854 | def heads(self, start=None): |
|
1855 | if start is None: | |
|
1856 | headrevs = sorted(self.changelog.headrevs(), reverse=True) | |
|
1857 | return [self.changelog.node(rev) for rev in headrevs] | |
|
1858 | ||
|
1855 | 1859 | heads = self.changelog.heads(start) |
|
1856 | 1860 | # sort the output in rev descending order |
|
1857 | 1861 | return sorted(heads, key=self.changelog.rev, reverse=True) |
General Comments 0
You need to be logged in to leave comments.
Login now