John's fixes to PythonGroupCompress.pop gets it branching. Thanks for that pointer. So I'm now running with two patches, and not running with the pyrex extensions.
Two follow-ons, one minor, the other major.
Minor: 'bzr info' of the branch, which is in a dev6-rr repository, displays the format as unnamed:
$ /scratch/dev/bzr-1.14/bzr --no-plugins info
Repository tree (format: unnamed)
Location:
shared repository: /private/tmp/pk
repository branch: .
Related branches:
parent branch: /scratch/dev/cvs-pkgsrc.org
$ cd ..
$ /scratch/dev/bzr-1.14/bzr --no-plugins info
Shared repository with trees (format: development6-rich-root)
Location:
shared repository: .
Major problem: doing a 'bzr check' from either the branch or the repository throws an exception after about two minutes:
$ /scratch/dev/bzr-1.14/bzr --no-plugins check
Checking working tree at 'file:///private/tmp/pk/pkgsrc/'.
Checking repository at 'file:///private/tmp/pk/'.
bzr: ERROR: exceptions.ValueError: Delta claimed to be 535842 long, but ended up 560635 long
Traceback (most recent call last):
File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/scratch/dev/bzr-1.14/bzrlib/builtins.py", line 2946, in run
check_dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree)
File "/scratch/dev/bzr-1.14/bzrlib/check.py", line 318, in check_dwim
result = repo.check()
File "/scratch/dev/bzr-1.14/bzrlib/decorators.py", line 138, in read_locked
result = unbound(self, *args, **kwargs)
File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 2437, in check
return self._check(revision_ids)
File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 2441, in _check
result.check()
File "/scratch/dev/bzr-1.14/bzrlib/check.py", line 86, in check
self.check_one_rev(rev_id)
File "/scratch/dev/bzr-1.14/bzrlib/check.py", line 203, in check_one_rev
self._check_revision_tree(rev_id)
File "/scratch/dev/bzr-1.14/bzrlib/check.py", line 244, in _check_revision_tree
ie.check(self, rev_id, inv, tree)
File "/scratch/dev/bzr-1.14/bzrlib/inventory.py", line 283, in check
self._check(checker, rev_id, tree)
File "/scratch/dev/bzr-1.14/bzrlib/inventory.py", line 497, in _check
if (self.text_sha1 != tree._repository.texts.get_sha1s([key])[key]):
File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 1275, in get_sha1s
record.get_bytes_as('fulltext'))
File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 353, in get_bytes_as
self._bytes = block.extract(self.key, self._start, self._end)
File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 273, in extract
bytes = apply_delta_to_source(self._content, content_start, end)
File "/scratch/dev/bzr-1.14/bzrlib/_groupcompress_py.py", line 392, in apply_delta_to_source
return apply_delta(source, delta_bytes)
File "/scratch/dev/bzr-1.14/bzrlib/_groupcompress_py.py", line 378, in apply_delta
' %d long' % (target_length, len(bytes)))
ValueError: Delta claimed to be 535842 long, but ended up 560635 long
bzr 1.14rc1 on python 2.5.2 (darwin)
arguments: ['/scratch/dev/bzr-1.14/bzr', '--no-plugins', 'check']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_CA.UTF-8'
plugins:
*** 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.
John's fixes to PythonGroupComp ress.pop gets it branching. Thanks for that pointer. So I'm now running with two patches, and not running with the pyrex extensions.
Two follow-ons, one minor, the other major.
Minor: 'bzr info' of the branch, which is in a dev6-rr repository, displays the format as unnamed:
$ /scratch/ dev/bzr- 1.14/bzr --no-plugins info
Repository tree (format: unnamed)
Location:
shared repository: /private/tmp/pk
repository branch: .
Related branches: dev/cvs- pkgsrc. org dev/bzr- 1.14/bzr --no-plugins info rich-root)
parent branch: /scratch/
$ cd ..
$ /scratch/
Shared repository with trees (format: development6-
Location:
shared repository: .
Major problem: doing a 'bzr check' from either the branch or the repository throws an exception after about two minutes:
$ /scratch/ dev/bzr- 1.14/bzr --no-plugins check //private/ tmp/pk/ pkgsrc/ '. //private/ tmp/pk/ '. ValueError: Delta claimed to be 535842 long, but ended up 560635 long
Checking working tree at 'file:/
Checking repository at 'file:/
bzr: ERROR: exceptions.
Traceback (most recent call last): dev/bzr- 1.14/bzrlib/ commands. py", line 727, in exception_ to_return_ code dev/bzr- 1.14/bzrlib/ commands. py", line 922, in run_bzr dev/bzr- 1.14/bzrlib/ commands. py", line 559, in run_argv_aliases **all_cmd_ args) dev/bzr- 1.14/bzrlib/ builtins. py", line 2946, in run dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree) dev/bzr- 1.14/bzrlib/ check.py" , line 318, in check_dwim dev/bzr- 1.14/bzrlib/ decorators. py", line 138, in read_locked dev/bzr- 1.14/bzrlib/ repository. py", line 2437, in check revision_ ids) dev/bzr- 1.14/bzrlib/ repository. py", line 2441, in _check dev/bzr- 1.14/bzrlib/ check.py" , line 86, in check check_one_ rev(rev_ id) dev/bzr- 1.14/bzrlib/ check.py" , line 203, in check_one_rev _check_ revision_ tree(rev_ id) dev/bzr- 1.14/bzrlib/ check.py" , line 244, in _check_ revision_ tree dev/bzr- 1.14/bzrlib/ inventory. py", line 283, in check _check( checker, rev_id, tree) dev/bzr- 1.14/bzrlib/ inventory. py", line 497, in _check y.texts. get_sha1s( [key])[ key]): dev/bzr- 1.14/bzrlib/ groupcompress. py", line 1275, in get_sha1s get_bytes_ as('fulltext' )) dev/bzr- 1.14/bzrlib/ groupcompress. py", line 353, in get_bytes_as self.key, self._start, self._end) dev/bzr- 1.14/bzrlib/ groupcompress. py", line 273, in extract to_source( self._content, content_start, end) dev/bzr- 1.14/bzrlib/ _groupcompress_ py.py", line 392, in apply_delta_ to_source dev/bzr- 1.14/bzrlib/ _groupcompress_ py.py", line 378, in apply_delta
File "/scratch/
return the_callable(*args, **kwargs)
File "/scratch/
ret = run(*run_argv)
File "/scratch/
return self.run(
File "/scratch/
check_
File "/scratch/
result = repo.check()
File "/scratch/
result = unbound(self, *args, **kwargs)
File "/scratch/
return self._check(
File "/scratch/
result.check()
File "/scratch/
self.
File "/scratch/
self.
File "/scratch/
ie.check(self, rev_id, inv, tree)
File "/scratch/
self.
File "/scratch/
if (self.text_sha1 != tree._repositor
File "/scratch/
record.
File "/scratch/
self._bytes = block.extract(
File "/scratch/
bytes = apply_delta_
File "/scratch/
return apply_delta(source, delta_bytes)
File "/scratch/
' %d long' % (target_length, len(bytes)))
ValueError: Delta claimed to be 535842 long, but ended up 560635 long
bzr 1.14rc1 on python 2.5.2 (darwin) dev/bzr- 1.14/bzr' , '--no-plugins', 'check'] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/scratch/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_CA.UTF-8'
plugins:
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.