equal
deleted
inserted
replaced
589 short(n) for n in sorted(cahs) if n != anc)) |
589 short(n) for n in sorted(cahs) if n != anc)) |
590 return changectx(self._repo, anc) |
590 return changectx(self._repo, anc) |
591 |
591 |
592 def descendant(self, other): |
592 def descendant(self, other): |
593 msg = (b'ctx.descendant(other) is deprecated, ' |
593 msg = (b'ctx.descendant(other) is deprecated, ' |
594 'use ctx.isancestorof(other)') |
594 b'use ctx.isancestorof(other)') |
595 self._repo.ui.deprecwarn(msg, b'4.7') |
595 self._repo.ui.deprecwarn(msg, b'4.7') |
596 return self.isancestorof(other) |
596 return self.isancestorof(other) |
597 |
597 |
598 def isancestorof(self, other): |
598 def isancestorof(self, other): |
599 """True if this changeset is an ancestor of other""" |
599 """True if this changeset is an ancestor of other""" |