Comment 19 for bug 519709

Revision history for this message
Robert Collins (lifeless) wrote : Re: Import fails with infinite recursion through _reconstruct_manifest_and_flags_by_revid

So the referenced branch fails with
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/scripts/code-import-worker.py", line 99, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/scripts/code-import-worker.py", line 94, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/lib/lp/codehosting/codeimport/worker.py", line 591, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/lib/lp/codehosting/codeimport/worker.py", line 745, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/branch.py", line 483, in fetch
    inter.fetch(revision_id=stop_revision, limit=limit)
  File "<string>", line 4, in fetch_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/fetch.py", line 766, in fetch
    self.addchangegroup(cg, mapping, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/fetch.py", line 631, in addchangegroup
    self.target.texts.insert_record_stream(texts)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/eggs/bzr-2.5.0dev2_r6152-py2.6-linux-x86_64.egg/bzrlib/groupcompress.py", line 1662, in insert_record_stream
    for _ in self._insert_record_stream(stream, random_id=False):
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/eggs/bzr-2.5.0dev2_r6152-py2.6-linux-x86_64.egg/bzrlib/groupcompress.py", line 1752, in _insert_record_stream
    for record in stream:
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/fetch.py", line 417, in _unpack_texts
    itertextchunks, get_text):
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/parsers.py", line 166, in unpack_chunk_iter
    textbase = lookup_base(base)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/fetch.py", line 415, in get_text
    return self._get_target_fulltext(key)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/fetch.py", line 375, in _get_target_fulltext
    return self._target_overlay.get_file_fulltext(key)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/bzrplugins/hg/overlay.py", line 229, in get_file_fulltext
    ret = "".join(self.repo.iter_files_bytes([key + (None,)]).next()[1])
  File "/srv/importd.launchpad.net/production/launchpad-rev-14616/eggs/bzr-2.5.0dev2_r6152-py2.6-linux-x86_64.egg/bzrlib/vf_repository.py", line 1516, in iter_files_bytes
    raise errors.RevisionNotPresent(record.key, self)
bzrlib.errors.RevisionNotPresent: Revision {('hg:.hgignore', 'hg-v1:48dfd5c9dc5d1591c6c64b69777d596dda227baf')} not present in "CHKInventoryRepository('file:///srv/importd.launchpad.net/data/worker-for-branch-310101/bzr_branch/.bzr/repository/')".
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

which is at least a different error, but still an error. I'm going to reopen both tasks.