##// END OF EJS Templates
mercurial: use commit_ids for parents/children instead of revisions which could change when evolve is used.
marcink -
r3935:d6d0e7ad default
parent child Browse files
Show More
@@ -149,9 +149,9 b' class MercurialCommit(base.BaseCommit):'
149 def short_id(self):
149 def short_id(self):
150 return self.raw_id[:12]
150 return self.raw_id[:12]
151
151
152 def _make_commits(self, indexes, pre_load=None):
152 def _make_commits(self, commit_ids, pre_load=None):
153 return [self.repository.get_commit(commit_idx=idx, pre_load=pre_load)
153 return [self.repository.get_commit(commit_id=commit_id, pre_load=pre_load)
154 for idx in indexes if idx >= 0]
154 for commit_id in commit_ids]
155
155
156 @LazyProperty
156 @LazyProperty
157 def parents(self):
157 def parents(self):
General Comments 0
You need to be logged in to leave comments. Login now