##// END OF EJS Templates
context: return dirstate parents in workingctx.ancestors()...
Durham Goode -
r23616:11a16054 default
parent child Browse files
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