We have a subversion repo with about 16000 revisions which appears to work fine both with svn and with an existing bzr-svn branch. I just tried to create a new bzr branch on a new machine (Ubuntu 9.04 Jaunty, using its standard bzr versions), and am getting this error:
bzr: ERROR: base checksum mismatch: 'dfd29a2e55275396552bcf7d083ba632' != '41b36ab118bfc4f0d574041d171c7c93'
This is a showstopper. I can't use bzr on this project until this is resolved. I will have to fall back to plain subversion.
My destination bzr repo (shared but empty) was originally a 1.9-rich-roots, but I also tried with 1.6.1-rich-roots and the result was the same. I can pull up to bzr -r 14579 but attempting to pull 14580 gives this error. There does not appear to be anything unusual about 14580, and I can do svn diff's of that changeset and a couple on either side of it. This leads me to believe it is not a problem with the svn repo being corrupted.
The svn repo in question is not publicly available, but I believe I could provide access to a bzr developer on a limited basis for debugging. I'm a ruby/java programmer so could fiddle with python under supervision, if necessary. This repo has minimal merging, so is mostly trunk with a few release branches. In other words, a simple flow.
Stack trace:
Tue 2009-05-26 10:13:05 -0400
0.047 bzr arguments: [u'pull', u'-v', u'-r', u'14580']
0.084 looking for plugins in /home/kevins/.bazaar/plugins
0.084 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.271 encoding stdout as sys.stdout encoding 'UTF-8'
0.287 opening working tree '/var/local/bzr/miradi/trunk'
0.333 opening SVN RA connection to 'svn+ssh://subversion.benetech.org/opt/svn/repositories/benetech.org/Miradi/trunk'
1.992 bzr-svn: using Subversion 1.5.4 ()
15.629 Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 918, in run
possible_transports=possible_transports)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 1551, in pull
possible_transports=possible_transports)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 2207, in pull
_override_hook_target=_override_hook_target)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 2029, in pull
graph=graph)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 725, in update_revisions
overwrite, graph)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/branch.py", line 635, in update_revisions
self.target.fetch(self.source, stop_revision)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 495, in fetch
pb=nested_pb)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1133, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 1251, in fetch
self._fetch_revisions(needed, pb, use_replay=use_replay)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 1175, in _fetch_revisions
parent_revmeta)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 1120, in _fetch_revision_switch
report_inventory_contents(reporter, parent_revnum, start_empty)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/errors.py", line 127, in convert
return unbound(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 906, in report_inventory_contents
reporter.finish()
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 374, in apply_textdelta
return self._apply_textdelta(base_checksum)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/fetch.py", line 562, in _apply_textdelta
raise VersionedFileInvalidChecksum("base checksum mismatch: %r != %r" % (base_checksum, actual_checksum))
VersionedFileInvalidChecksum: base checksum mismatch: 'dfd29a2e55275396552bcf7d083ba632' != '41b36ab118bfc4f0d574041d171c7c93'
We have a subversion repo with about 16000 revisions which appears to work fine both with svn and with an existing bzr-svn branch. I just tried to create a new bzr branch on a new machine (Ubuntu 9.04 Jaunty, using its standard bzr versions), and am getting this error:
bzr: ERROR: base checksum mismatch: 'dfd29a2e552753 96552bcf7d083ba 632' != '41b36ab118bfc4 f0d574041d171c7 c93'
This is a showstopper. I can't use bzr on this project until this is resolved. I will have to fall back to plain subversion.
My destination bzr repo (shared but empty) was originally a 1.9-rich-roots, but I also tried with 1.6.1-rich-roots and the result was the same. I can pull up to bzr -r 14579 but attempting to pull 14580 gives this error. There does not appear to be anything unusual about 14580, and I can do svn diff's of that changeset and a couple on either side of it. This leads me to believe it is not a problem with the svn repo being corrupted.
The svn repo in question is not publicly available, but I believe I could provide access to a bzr developer on a limited basis for debugging. I'm a ruby/java programmer so could fiddle with python under supervision, if necessary. This repo has minimal merging, so is mostly trunk with a few release branches. In other words, a simple flow.
Bazaar (bzr) 1.13.1 python2. 6/dist- packages/ bzrlib .bazaar .bzr.log
Python interpreter: /usr/bin/python 2.6.2
Python standard library: /usr/lib/python2.6
bzrlib: /usr/lib/
Bazaar configuration: /home/kevins/
Bazaar log file: /home/kevins/
Stack trace: .bazaar/ plugins python2. 6/dist- packages/ bzrlib/ plugins bzr/miradi/ trunk' //subversion. benetech. org/opt/ svn/repositorie s/benetech. org/Miradi/ trunk' python2. 6/dist- packages/ bzrlib/ commands. py", line 716, in exception_ to_return_ code python2. 6/dist- packages/ bzrlib/ commands. py", line 911, in run_bzr python2. 6/dist- packages/ bzrlib/ commands. py", line 547, in run_argv_aliases **all_cmd_ args) python2. 6/dist- packages/ bzrlib/ builtins. py", line 918, in run transports= possible_ transports) python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ workingtree. py", line 1551, in pull transports= possible_ transports) python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ branch. py", line 2207, in pull hook_target= _override_ hook_target) python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ branch. py", line 2029, in pull python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ branch. py", line 725, in update_revisions python2. 6/dist- packages/ bzrlib/ plugins/ svn/branch. py", line 635, in update_revisions target. fetch(self. source, stop_revision) python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ branch. py", line 495, in fetch python2. 6/dist- packages/ bzrlib/ repository. py", line 1133, in fetch ghosts= find_ghosts, fetch_spec= fetch_spec) python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 1251, in fetch _fetch_ revisions( needed, pb, use_replay= use_replay) python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 1175, in _fetch_revisions python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 1120, in _fetch_ revision_ switch inventory_ contents( reporter, parent_revnum, start_empty) python2. 6/dist- packages/ bzrlib/ plugins/ svn/errors. py", line 127, in convert python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 906, in report_ inventory_ contents finish( ) python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 374, in apply_textdelta textdelta( base_checksum) python2. 6/dist- packages/ bzrlib/ plugins/ svn/fetch. py", line 562, in _apply_textdelta validChecksum( "base checksum mismatch: %r != %r" % (base_checksum, actual_checksum)) validChecksum: base checksum mismatch: 'dfd29a2e552753 96552bcf7d083ba 632' != '41b36ab118bfc4 f0d574041d171c7 c93'
Tue 2009-05-26 10:13:05 -0400
0.047 bzr arguments: [u'pull', u'-v', u'-r', u'14580']
0.084 looking for plugins in /home/kevins/
0.084 looking for plugins in /usr/lib/
0.271 encoding stdout as sys.stdout encoding 'UTF-8'
0.287 opening working tree '/var/local/
0.333 opening SVN RA connection to 'svn+ssh:
1.992 bzr-svn: using Subversion 1.5.4 ()
15.629 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
_override_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
graph=graph)
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
overwrite, graph)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
find_
File "/usr/lib/
self.
File "/usr/lib/
parent_revmeta)
File "/usr/lib/
report_
File "/usr/lib/
return unbound(*args, **kwargs)
File "/usr/lib/
reporter.
File "/usr/lib/
return self._apply_
File "/usr/lib/
raise VersionedFileIn
VersionedFileIn