Show More
@@ -288,6 +288,10 b' class changectx(object):' | |||||
288 | n = self._repo.changelog.ancestor(self._node, n2) |
|
288 | n = self._repo.changelog.ancestor(self._node, n2) | |
289 | return changectx(self._repo, n) |
|
289 | return changectx(self._repo, n) | |
290 |
|
290 | |||
|
291 | def descendant(self, other): | |||
|
292 | """True if other is descendant of this changeset""" | |||
|
293 | return self._repo.changelog.descendant(self._rev, other._rev) | |||
|
294 | ||||
291 | def walk(self, match): |
|
295 | def walk(self, match): | |
292 | fset = set(match.files()) |
|
296 | fset = set(match.files()) | |
293 | # for dirstate.walk, files=['.'] means "walk the whole tree". |
|
297 | # for dirstate.walk, files=['.'] means "walk the whole tree". |
General Comments 0
You need to be logged in to leave comments.
Login now