Revision not in bzrlib.groupcompress.GroupCompressVersionedFiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
John A Meinel |
Bug Description
I thought I'd try the new --development6-
$ /scratch/
Shared repository with trees (format: development6-
Location:
shared repository: /tmp/gt
$ cd /tmp/gt
$ /scratch/
bzr: ERROR: Revision {('makefile-
$ cd /scratch/
$ bzr check
Checking working tree at 'file:/
Checking repository at 'file:/
checked repository <bzrlib.
19 revisions
69433 file-ids
82005 unique file texts
874733 repeated file texts
0 unreferenced text versions
Checking branch at 'file:/
checked branch file://
The error log shows:
Wed 2009-04-08 13:12:55 -0600
0.030 bzr arguments: [u'--no-plugins', u'branch', u'/scratch/
0.062 encoding stdout as sys.stdout encoding 'UTF-8'
0.170 opening working tree '/scratch/
0.197 opening working tree '/scratch/
7.436 Resizing the inventory entry cache from 10240 to 119264
127.559 Traceback (most recent call last):
File "/scratch/
return the_callable(*args, **kwargs)
File "/scratch/
ret = run(*run_argv)
File "/scratch/
return self.run(
File "/scratch/
source_
File "/scratch/
result_
File "/scratch/
find_
File "/scratch/
result = unbound(self, *args, **kwargs)
File "/scratch/
self.
File "/scratch/
basis_id = self._fetch_
File "/scratch/
not self.target.
File "/scratch/
for _ in self._insert_
File "/scratch/
bytes = adapter.
File "/scratch/
raise errors.
RevisionNotPresent: Revision {('makefile-
127.560 return code 3
With John's "_fetch_uses_deltas = False" patch, I get a stack trace:
$ /scratch/ dev/bzr- 1.14/bzr --no-plugins branch /scratch/ dev/cvs- pkgsrc. org pkgsrc TypeError: 'NoneType' object is unsubscriptable
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 1122, in run branch= br_from) dev/bzr- 1.14/bzrlib/ bzrdir. py", line 1139, in sprout repo.fetch( source_ repository, revision_ id=revision_ id) dev/bzr- 1.14/bzrlib/ repository. py", line 1493, in fetch ghosts= find_ghosts, fetch_spec= fetch_spec) dev/bzr- 1.14/bzrlib/ decorators. py", line 192, in write_locked dev/bzr- 1.14/bzrlib/ repository. py", line 3705, in fetch _fetch_ all_revisions( revision_ ids, pb) dev/bzr- 1.14/bzrlib/ repository. py", line 3663, in _fetch_ all_revisions batch(batch, basis_id, cache) dev/bzr- 1.14/bzrlib/ repository. py", line 3628, in _fetch_batch _format. _fetch_ uses_deltas) ) dev/bzr- 1.14/bzrlib/ groupcompress. py", line 1288, in insert_ record_ stream record_ stream( stream, random_id=False): dev/bzr- 1.14/bzrlib/ groupcompress. py", line 1412, in _insert_ record_ stream _compressor. pop_last( ) dev/bzr- 1.14/bzrlib/ groupcompress. py", line 702, in pop_last self._last[ 0]:]
File "/scratch/
return the_callable(*args, **kwargs)
File "/scratch/
ret = run(*run_argv)
File "/scratch/
return self.run(
File "/scratch/
source_
File "/scratch/
result_
File "/scratch/
find_
File "/scratch/
result = unbound(self, *args, **kwargs)
File "/scratch/
self.
File "/scratch/
basis_id = self._fetch_
File "/scratch/
not self.target.
File "/scratch/
for _ in self._insert_
File "/scratch/
self.
File "/scratch/
del self.chunks[
TypeError: 'NoneType' object is unsubscriptable
bzr 1.14rc1 on python 2.5.2 (darwin) dev/bzr- 1.14/bzr' , '--no-plugins', 'branch', '/scratch/ dev/cvs- pkgsrc. org', 'pkgsrc'] /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.