bzr fast-import fails: AttributeError: 'CHKInventory' object has no attribute 'copy'

Bug #485788 reported by Garagoth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
Fix Released
Medium
Jelmer Vernooij

Bug Description

perl script import-tars.perl is newest from resitory.
Attempt was made on empty, freshly-initialized repository.
The same error occurs with repository where something was commited earlier.

python version: 2.6.4
bzr version: 2.0.2
fast-import version: 0.9.0dev, revision 260

Related branches

Revision history for this message
Garagoth (garagoth) wrote :
Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Looks like a problem is the deleteall handling on CHKInventories.

Changed in bzr-fastimport:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Should probably create a inventory delta in this case.

Changed in bzr-fastimport:
status: Confirmed → Triaged
Revision history for this message
Saša Janiška (gour) wrote :

Hello,

I just tried to export all my old Fossil & Darcs repos into bzr in one step by using:

fossil export --git -R ~/repos/fossil/admin/cfgfiles.fossil| bzr fast-import -

command, but it looks I hit the same problem?

I'll attach trace log.

Sincerely,
Gour

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 485788] Re: bzr fast-import fails: AttributeError: 'CHKInventory' object has no attribute 'copy'

On Tue, 2011-05-31 at 11:00 +0000, Gour wrote:
> Hello,
>
> I just tried to export all my old Fossil & Darcs repos into bzr in one
> step by using:
>
> fossil export --git -R ~/repos/fossil/admin/cfgfiles.fossil| bzr fast-
> import -
>
> command, but it looks I hit the same problem?
>
> I'll attach trace log.
This should now be fixed in trunk - please verify.

  status fixcommitted
  assignee jelmer

Cheers,

Jelmer

Changed in bzr-fastimport:
status: Triaged → Fix Committed
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.11.0
Revision history for this message
Saša Janiška (gour) wrote :

In the attachment there is small mcb.fi file created via Fossil's export command which cannot be imported into bzr.

Sincerely,
Gour

Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.