Comment 13 for bug 380621

Revision history for this message
Reuben Firmin (reubenf) wrote : Re: pull from svn repo gives: bzr: ERROR: base checksum mismatch:

Hi, same thing with the branch you pointed me at over IRC:

[root@benetech04 ~]# bzr svn-import /opt/svn/repositories/benetech.org/Bookshare/
Using repository layout: trunk0
bzr: ERROR: exceptions.AttributeError: 'RevisionBuildEditor' object has no attribute 'branch_path'

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 924, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/root/.bazaar/plugins/svn/commands.py", line 177, in run
    to_revnum=to_revnum, prefix=prefix)
  File "/root/.bazaar/plugins/svn/convert.py", line 371, in convert_repository
    RepositoryConverter(*args, **kwargs)
  File "/root/.bazaar/plugins/svn/convert.py", line 248, in __init__
    revfinder, mapping, heads)
  File "/root/.bazaar/plugins/svn/convert.py", line 296, in _fetch_to_shared_repo
    inter.fetch(needed=revfinder.get_missing())
  File "/root/.bazaar/plugins/svn/fetch.py", line 1260, in fetch
    use_replay=self._use_replay)
  File "/root/.bazaar/plugins/svn/fetch.py", line 1191, in _fetch_revisions
    parent_revmeta)
  File "/root/.bazaar/plugins/svn/fetch.py", line 1136, in _fetch_revision_switch
    report_inventory_contents(reporter, parent_revnum, start_empty)
  File "/root/.bazaar/plugins/svn/errors.py", line 129, in convert
    return unbound(*args, **kwargs)
  File "/root/.bazaar/plugins/svn/fetch.py", line 903, in report_inventory_contents
    reporter.finish()
  File "/root/.bazaar/plugins/svn/fetch.py", line 358, in apply_textdelta
    return self._apply_textdelta(base_checksum)
  File "/root/.bazaar/plugins/svn/fetch.py", line 543, in _apply_textdelta
    raise VersionedFileInvalidChecksum("base checksum mismatch: %r != %r in %s (%s:%d)" % (base_checksum, actual_checksum, self.editor.revid, self.editor.branch_path, self.editor.revnum))
AttributeError: 'RevisionBuildEditor' object has no attribute 'branch_path'

bzr 1.15 on python 2.6.2 (linux2)
arguments: ['/usr/local/bin/bzr', 'svn-import', '/opt/svn/repositories/benetech.org/Bookshare/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  email /root/.bazaar/plugins/email [unknown]
  launchpad /usr/local/lib/python2.6/site-packages/bzrlib/plugins/launchpad [1.15]
  netrc_credential_store /usr/local/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [1.15]
  svn /root/.bazaar/plugins/svn [0.6.3dev]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.