285 def getchanges(self, rev): |
285 def getchanges(self, rev): |
286 ctx = self.changectx(rev) |
286 ctx = self.changectx(rev) |
287 parents = self.parents(ctx) |
287 parents = self.parents(ctx) |
288 if not parents: |
288 if not parents: |
289 files = sorted(ctx.manifest()) |
289 files = sorted(ctx.manifest()) |
290 if self.ignoreerrors: |
290 # getcopies() is not needed for roots, but it is a simple way to |
291 # calling getcopies() is a simple way to detect missing |
291 # detect missing revlogs and abort on errors or populate self.ignored |
292 # revlogs and populate self.ignored |
292 self.getcopies(ctx, parents, files) |
293 self.getcopies(ctx, parents, files) |
|
294 return [(f, rev) for f in files if f not in self.ignored], {} |
293 return [(f, rev) for f in files if f not in self.ignored], {} |
295 if self._changescache and self._changescache[0] == rev: |
294 if self._changescache and self._changescache[0] == rev: |
296 m, a, r = self._changescache[1] |
295 m, a, r = self._changescache[1] |
297 else: |
296 else: |
298 m, a, r = self.repo.status(parents[0].node(), ctx.node())[:3] |
297 m, a, r = self.repo.status(parents[0].node(), ctx.node())[:3] |