Bzr-fastimport: graceful handling of faulty revisions

David Reitter david.reitter at
Tue Mar 24 18:35:52 GMT 2009

Second attempt to send a merge bundle, this time the correct file.   
Apologies for the noise.

This fixes bug #348038 as well as the related error below (if faulty  
revisions are detected, we need to ignore them in  

I'm just attaching the merge bundle here - let's see if that works,  
since it's my first one.
PS.: second

bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no  
attribute 'changes_from'

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/", line  
716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/", line  
911, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/", line  
547, in run_argv_aliases
  File "/Users/dr/.bazaar/plugins/fastimport/", line 408,  
in run
  File "/Users/dr/.bazaar/plugins/fastimport/", line  
69, in run
    self.emit_commit(revid, self.git_branch)
  File "/Users/dr/.bazaar/plugins/fastimport/", line  
152, in emit_commit
    file_cmds = self._get_filecommands(parent, revid)
  File "/Users/dr/.bazaar/plugins/fastimport/", line  
204, in _get_filecommands
    changes = tree_new.changes_from(tree_old)
AttributeError: 'NoneType' object has no attribute 'changes_from'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-fastimport-malformed-revisions.diff
Type: application/octet-stream
Size: 8833 bytes
Desc: not available
Url : 

More information about the bazaar mailing list