Comment 10 for bug 347729

With bzr 2.0.2 and current trunk (rev 268(, Ryan's script (and the several git-bzr scripts, which use the same idea) still crash with:

ABORT: exception occurred processing commit :3
bzr: ERROR: exceptions.KeyError: ':1'

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Users/mb312/.bazaar/plugins/fastimport/__init__.py", line 384, in run
    params, verbose, user_map=user_map)
  File "/Users/mb312/.bazaar/plugins/fastimport/__init__.py", line 111, in _run
    return proc.process(p.iter_commands)
  File "/Users/mb312/.bazaar/plugins/fastimport/processor.py", line 95, in process
    self._process(command_iter)
  File "/Users/mb312/.bazaar/plugins/fastimport/processors/generic_processor.py", line 280, in _process
    processor.ImportProcessor._process(self, command_iter)
  File "/Users/mb312/.bazaar/plugins/fastimport/processor.py", line 117, in _process
    handler(self, cmd)
  File "/Users/mb312/.bazaar/plugins/fastimport/processors/generic_processor.py", line 490, in commit_handler
    handler.process()
  File "/Users/mb312/.bazaar/plugins/fastimport/processor.py", line 200, in process
    self.pre_process_files()
  File "/Users/mb312/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 582, in pre_process_files
    super(InventoryDeltaCommitHandler, self).pre_process_files()
  File "/Users/mb312/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 84, in pre_process_files
    for p in parents]
KeyError: ':1'

bzr 2.0.2 on python 2.6.1 (Darwin-10.2.0-i386-64bit)
arguments: ['/usr/local/bin/bzr', 'fast-import', '--import-marks=../git-temp/.git/bzr-upstream', '--export-marks=../git-temp/.git/bzr-upstream', '../git-temp/.git/temp2']

I can code in python - is there anything I can do to help fix this problem?

Thanks a lot,

Matthew