Show More
@@ -1165,6 +1165,8 b' class committablectx(basectx):' | |||||
1165 | return sorted(self._repo.dirstate.matches(match)) |
|
1165 | return sorted(self._repo.dirstate.matches(match)) | |
1166 |
|
1166 | |||
1167 | def ancestors(self): |
|
1167 | def ancestors(self): | |
|
1168 | for p in self._parents: | |||
|
1169 | yield p | |||
1168 | for a in self._repo.changelog.ancestors( |
|
1170 | for a in self._repo.changelog.ancestors( | |
1169 | [p.rev() for p in self._parents]): |
|
1171 | [p.rev() for p in self._parents]): | |
1170 | yield changectx(self._repo, a) |
|
1172 | yield changectx(self._repo, a) |
General Comments 0
You need to be logged in to leave comments.
Login now