hgext/convert/hg.py
changeset 7232 c2ac09f81ec9
parent 7231 8e7130a10f3b
child 7236 db6fbb785800
--- a/hgext/convert/hg.py	Tue Oct 21 21:24:47 2008 +0200
+++ b/hgext/convert/hg.py	Thu Oct 23 23:03:09 2008 +0200
@@ -255,6 +255,10 @@
         parents = self.parents(ctx)
         if not parents:
             files = util.sort(ctx.manifest().keys())
+            if self.ignoreerrors:
+                # calling getcopies() is a simple way to detect missing
+                # revlogs and populate self.ignored
+                self.getcopies(ctx, files)
             return [(f, rev) for f in files if f not in self.ignored], {}
         if self._changescache and self._changescache[0] == rev:
             m, a, r = self._changescache[1]