diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -255,6 +255,10 @@ class mercurial_source(converter_source) 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] diff --git a/tests/test-convert-hg-source.out b/tests/test-convert-hg-source.out --- a/tests/test-convert-hg-source.out +++ b/tests/test-convert-hg-source.out @@ -28,8 +28,8 @@ scanning source... sorting... converting... 4 init +ignoring: data/b.i@1e88685f5dde: no match found 3 changebagain -ignoring: data/b.i@4b3c32ced4f8: no match found 2 changeall 1 merge 0 moveb