I get a the same error with an up-to-date checkout of bzr-1.4 branch and bzr-svn 0.4 branch:
jscott@jscott-laptop:~/src/b$ time bzr14 branch $SVNROOT/trunk trunk
Initialising Subversion metadata cache in /home/jscott/.bazaar/svn-cache-exp/85072ce8-75ea-0310-bde9-cb3a2c948a9f
using experimental bzr-svn mappings; output may change between revisions
bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit <bzrlib.knit._PackAccess object at 0xa753cd0> corrupt: incorrect number of lines 41 != 40 for version {svn-v3-trunk0:85072ce8-75ea-0310-bde9-cb3a2c948a9f:trunk:8410}
Traceback (most recent call last):
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/commands.py", line 802, in run_bzr
ret = run(*run_argv)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/commands.py", line 504, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/builtins.py", line 954, in run
hardlink=hardlink)
File "/home/jscott/src/bzr-svn/0.4/remote.py", line 76, in sprout
result_repo.fetch(repo, revision_id=revision_id)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repository.py", line 947, in fetch
return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
File "/home/jscott/.bazaar/plugins/svn/fetch.py", line 741, in fetch
self._fetch_switch(needed, pb)
File "/home/jscott/.bazaar/plugins/svn/fetch.py", line 700, in _fetch_switch
reporter.finish_report(pool)
File "/home/jscott/src/bzr-svn/0.4/errors.py", line 117, in convert
return unbound(*args, **kwargs)
File "/home/jscott/src/bzr-svn/0.4/transport.py", line 264, in finish_report
self._baton, pool)
File "/var/lib/python-support/python2.5/libsvn/ra.py", line 740, in svn_ra_reporter2_invoke_finish_report
return apply(_ra.svn_ra_reporter2_invoke_finish_report, args)
File "/home/jscott/.bazaar/plugins/svn/fetch.py", line 488, in abort_edit
self.target.abort_write_group()
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repository.py", line 479, in abort_write_group
self._abort_write_group()
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repofmt/pack_repo.py", line 1849, in _abort_write_group
self._pack_collection._abort_write_group()
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repofmt/pack_repo.py", line 1653, in _abort_write_group
self._new_pack.abort()
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repofmt/pack_repo.py", line 318, in abort
self.write_stream.close()
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/transport/__init__.py", line 273, in close
del _file_streams[self.transport.abspath(self.relpath)]
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/transport/local.py", line 103, in abspath
self._local_base, urlutils.unescape(relpath)))
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/urlutils.py", line 525, in unescape
unquoted = urllib.unquote(url)
File "urllib.py", line 1154, in unquote
for i in xrange(1, len(res)):
File "/home/jscott/.bazaar/plugins/svn/fetch.py", line 418, in close_edit
self._finish_commit()
File "/home/jscott/.bazaar/plugins/svn/fetch.py", line 480, in _finish_commit
self.target.add_revision(self.revid, rev, self.inventory)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repository.py", line 552, in add_revision
rev.parent_ids)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repository.py", line 513, in add_inventory
inv_lines, check_content=False)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/repofmt/knitrepo.py", line 114, in _inventory_add_lines
check_content=check_content)[0]
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/versionedfile.py", line 137, in add_lines_with_ghosts
parent_texts, nostore_sha, random_id, check_content, left_matching_blocks)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 982, in _add_lines_with_ghosts
parent_texts, left_matching_blocks, nostore_sha, random_id)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 1058, in _add
left_matching_blocks)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 913, in _merge_annotations
reference_content = self._get_content(parents[0], parent_texts)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 970, in _get_content
text_map, contents_map = self._get_content_maps([version_id])
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 1148, in _get_content_maps
record_map = self._get_record_map(version_ids)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 1113, in _get_record_map
self._data.read_records_iter(records):
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 2521, in read_records_iter
content, digest = self._parse_record(version_id, data)
File "/home/jscott/src/bzr/bzr.1.4/bzrlib/knit.py", line 2468, in _parse_record
version_id))
KnitCorrupt: Knit <bzrlib.knit._PackAccess object at 0xa753cd0> corrupt: incorrect number of lines 41 != 40 for version {svn-v3-trunk0:85072ce8-75ea-0310-bde9-cb3a2c948a9f:trunk:8410}
I get a the same error with an up-to-date checkout of bzr-1.4 branch and bzr-svn 0.4 branch:
jscott@ jscott- laptop: ~/src/b$ time bzr14 branch $SVNROOT/trunk trunk .bazaar/ svn-cache- exp/85072ce8- 75ea-0310- bde9-cb3a2c948a 9f errors. KnitCorrupt: Knit <bzrlib. knit._PackAcces s object at 0xa753cd0> corrupt: incorrect number of lines 41 != 40 for version {svn-v3- trunk0: 85072ce8- 75ea-0310- bde9-cb3a2c948a 9f:trunk: 8410}
Initialising Subversion metadata cache in /home/jscott/
using experimental bzr-svn mappings; output may change between revisions
bzr: ERROR: bzrlib.
Traceback (most recent call last): jscott/ src/bzr/ bzr.1.4/ bzrlib/ commands. py", line 846, in run_bzr_ catch_errors jscott/ src/bzr/ bzr.1.4/ bzrlib/ commands. py", line 802, in run_bzr jscott/ src/bzr/ bzr.1.4/ bzrlib/ commands. py", line 504, in run_argv_aliases **all_cmd_ args) jscott/ src/bzr/ bzr.1.4/ bzrlib/ builtins. py", line 954, in run hardlink) jscott/ src/bzr- svn/0.4/ remote. py", line 76, in sprout repo.fetch( repo, revision_ id=revision_ id) jscott/ src/bzr/ bzr.1.4/ bzrlib/ repository. py", line 947, in fetch revision_ id=revision_ id, pb=pb, find_ghosts= find_ghosts) jscott/ .bazaar/ plugins/ svn/fetch. py", line 741, in fetch _fetch_ switch( needed, pb) jscott/ .bazaar/ plugins/ svn/fetch. py", line 700, in _fetch_switch finish_ report( pool) jscott/ src/bzr- svn/0.4/ errors. py", line 117, in convert jscott/ src/bzr- svn/0.4/ transport. py", line 264, in finish_report python- support/ python2. 5/libsvn/ ra.py", line 740, in svn_ra_ reporter2_ invoke_ finish_ report ra.svn_ ra_reporter2_ invoke_ finish_ report, args) jscott/ .bazaar/ plugins/ svn/fetch. py", line 488, in abort_edit target. abort_write_ group() jscott/ src/bzr/ bzr.1.4/ bzrlib/ repository. py", line 479, in abort_write_group _abort_ write_group( ) jscott/ src/bzr/ bzr.1.4/ bzrlib/ repofmt/ pack_repo. py", line 1849, in _abort_write_group _pack_collectio n._abort_ write_group( ) jscott/ src/bzr/ bzr.1.4/ bzrlib/ repofmt/ pack_repo. py", line 1653, in _abort_write_group _new_pack. abort() jscott/ src/bzr/ bzr.1.4/ bzrlib/ repofmt/ pack_repo. py", line 318, in abort write_stream. close() jscott/ src/bzr/ bzr.1.4/ bzrlib/ transport/ __init_ _.py", line 273, in close self.transport. abspath( self.relpath) ] jscott/ src/bzr/ bzr.1.4/ bzrlib/ transport/ local.py" , line 103, in abspath _local_ base, urlutils. unescape( relpath) )) jscott/ src/bzr/ bzr.1.4/ bzrlib/ urlutils. py", line 525, in unescape jscott/ .bazaar/ plugins/ svn/fetch. py", line 418, in close_edit _finish_ commit( ) jscott/ .bazaar/ plugins/ svn/fetch. py", line 480, in _finish_commit target. add_revision( self.revid, rev, self.inventory) jscott/ src/bzr/ bzr.1.4/ bzrlib/ repository. py", line 552, in add_revision jscott/ src/bzr/ bzr.1.4/ bzrlib/ repository. py", line 513, in add_inventory False) jscott/ src/bzr/ bzr.1.4/ bzrlib/ repofmt/ knitrepo. py", line 114, in _inventory_ add_lines content= check_content) [0] jscott/ src/bzr/ bzr.1.4/ bzrlib/ versionedfile. py", line 137, in add_lines_ with_ghosts blocks) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 982, in _add_lines_ with_ghosts blocks, nostore_sha, random_id) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 1058, in _add matching_ blocks) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 913, in _merge_annotations content = self._get_ content( parents[ 0], parent_texts) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 970, in _get_content content_ maps([version_ id]) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 1148, in _get_content_maps record_ map(version_ ids) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 1113, in _get_record_map _data.read_ records_ iter(records) : jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 2521, in read_records_iter record( version_ id, data) jscott/ src/bzr/ bzr.1.4/ bzrlib/ knit.py" , line 2468, in _parse_record knit._PackAcces s object at 0xa753cd0> corrupt: incorrect number of lines 41 != 40 for version {svn-v3- trunk0: 85072ce8- 75ea-0310- bde9-cb3a2c948a 9f:trunk: 8410}
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
hardlink=
File "/home/
result_
File "/home/
return inter.fetch(
File "/home/
self.
File "/home/
reporter.
File "/home/
return unbound(*args, **kwargs)
File "/home/
self._baton, pool)
File "/var/lib/
return apply(_
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
del _file_streams[
File "/home/
self.
File "/home/
unquoted = urllib.unquote(url)
File "urllib.py", line 1154, in unquote
for i in xrange(1, len(res)):
File "/home/
self.
File "/home/
self.
File "/home/
rev.parent_ids)
File "/home/
inv_lines, check_content=
File "/home/
check_
File "/home/
parent_texts, nostore_sha, random_id, check_content, left_matching_
File "/home/
parent_texts, left_matching_
File "/home/
left_
File "/home/
reference_
File "/home/
text_map, contents_map = self._get_
File "/home/
record_map = self._get_
File "/home/
self.
File "/home/
content, digest = self._parse_
File "/home/
version_id))
KnitCorrupt: Knit <bzrlib.
bzr 1.4dev on python 2.5.1 (linux2) jscott/ src/bzr/ bzr.1.4/ bzr', 'branch', 'svn+ssh: //moon/ usr/local/ svn/rocksoft/ src/trunk' , 'trunk'] src/bzr/ bzr.1.4/ bzrlib/ plugins/ launchpad [unknown] .bazaar/ plugins/ svn [0.4.10exp0]
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
launchpad /home/jscott/
svn /home/jscott/