problem importing bazaar 1.0 archive

Toni Mueller support at oeko.net
Fri Jan 26 23:18:48 GMT 2007



Hello,

I have an archive that has some projects in it, and would like to
migrate this to bzr. First, I created a repository:

$ bzr init-repo /home/arch/b2007

Then I cd'ed into /home/arch and ran

$ bzr baz-import b2007   post at tonimueller.org--2004

the latter being the archive I use for baz.

This imports some (smallish) projects, then crashes with this
traceback:


Import complete.
importing post at tonimueller.org--2004/kvhs-web--base--0.1 into /home/arch/b2007/kvhs-web/0.1/base
Cleaning up                                                                                                         
bzr: ERROR: exceptions.AssertionError: 

Traceback (most recent call last):
  File "/home/toni/mnt/python/bzr.dev/bzrlib/commands.py", line 650, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/toni/mnt/python/bzr.dev/bzrlib/commands.py", line 612, in run_bzr
    ret = run(*run_argv)
  File "/home/toni/mnt/python/bzr.dev/bzrlib/commands.py", line 304, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/toni/.bazaar/plugins/bzrtools/__init__.py", line 603, in run
    verbose, reuse_history_list, prefixes)
  File "./baz_import.py", line 791, in baz_import
  File "./baz_import.py", line 829, in import_archive
  File "./baz_import.py", line 438, in import_version
  File "./baz_import.py", line 672, in iter_import_version
  File "/home/toni/mnt/python/bzr.dev/bzrlib/commit.py", line 294, in commit
    self._populate_new_inv()
  File "/home/toni/mnt/python/bzr.dev/bzrlib/commit.py", line 584, in _populate_new_inv
    change = ie.describe_change(basis_ie, ie)
  File "/home/toni/mnt/python/bzr.dev/bzrlib/inventory.py", line 387, in describe_change
    text_modified, meta_modified = new_entry.detect_changes(old_entry)
  File "/home/toni/mnt/python/bzr.dev/bzrlib/inventory.py", line 636, in detect_changes
    assert old_entry.text_sha1 is not None
AssertionError

bzr 0.15.0dev0 on python 2.4.4.final.0 (linux2)
arguments: ['/home/toni/bin/bzr', 'baz-import', 'b2007', 'post at tonimueller.org--2004']

** please send this report to bazaar at lists.ubuntu.com

I have the latest of bzr and bzrtools (only off by a few hours at most).



Best,
--Toni++







More information about the bazaar mailing list