equal
deleted
inserted
replaced
286 if n2 is None: |
286 if n2 is None: |
287 n2 = c2._parents[0]._node |
287 n2 = c2._parents[0]._node |
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". |
294 # follow that here, too |
298 # follow that here, too |
295 fset.discard('.') |
299 fset.discard('.') |