hgext/convert/hg.py
changeset 14151 1fe82c93b8e2
parent 13757 043238abda94
child 14556 517e1d88bf7e
equal deleted inserted replaced
14150:3a3584967a93 14151:1fe82c93b8e2
   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]