##// END OF EJS Templates
context: walk both parents for workingctx.ancestors()
Matt Mackall -
r12999:acd69df1 stable
parent child Browse files
Show More
@@ -818,6 +818,11 b' class workingctx(changectx):'
818 finally:
818 finally:
819 wlock.release()
819 wlock.release()
820
820
821 def ancestors(self):
822 for a in self._repo.changelog.ancestors(
823 *[p.rev() for p in self._parents]):
824 yield changectx(self._repo, a)
825
821 def remove(self, list, unlink=False):
826 def remove(self, list, unlink=False):
822 if unlink:
827 if unlink:
823 for f in list:
828 for f in list:
General Comments 0
You need to be logged in to leave comments. Login now