[Bug or regression?] QBzr + packs: probems with get_deltas_for_revisions

Alexander Belchenko bialix at ukr.net
Sat Oct 27 18:25:14 BST 2007


No guys. I'm sure it's regression in packs code
because the same AssertionError I have with built-in
'export' command:

C:\work\black-level>bzr --no-plugins export ../black
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
   File "bzrlib\commands.pyc", line 802, in run_bzr_catch_errors
   File "bzrlib\commands.pyc", line 758, in run_bzr
   File "bzrlib\commands.pyc", line 492, in run_argv_aliases
   File "bzrlib\builtins.pyc", line 2084, in run
   File "bzrlib\export\__init__.pyc", line 95, in export
   File "bzrlib\export\__init__.pyc", line 61, in _loader
   File "bzrlib\export\dir_exporter.pyc", line 47, in dir_exporter
   File "bzrlib\inventory.pyc", line 341, in put_on_disk
   File "bzrlib\inventory.pyc", line 667, in _put_on_disk
   File "bzrlib\revisiontree.pyc", line 82, in get_file
   File "bzrlib\revisiontree.pyc", line 79, in get_file_text
   File "bzrlib\revisiontree.pyc", line 75, in get_file_lines
   File "bzrlib\revisiontree.pyc", line 71, in _get_weave
   File "bzrlib\repofmt\pack_repo.pyc", line 1341, in get_weave_or_empty
   File "bzrlib\repofmt\pack_repo.pyc", line 918, in ensure_loaded
AssertionError

bzr 0.92.0.dev.0 on python 2.5.1.final.0 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', '--no-plugins', 
'export', '../black']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'ru'
plugins:

** Please send this report to bazaar at lists.ubuntu.com
    with a description of what you were doing when the
    error occurred.


Alexander Belchenko пишет:
> QBzr has problems to work with new knitpack format.
> I don't know is it problem in QBzr or in bzrlib.
> When I open qlog and click any revision, then
> in right bottom corner box I usually see list
> of files modified in that revision. And this
> works fine for old formats. But not for packs.
> In terminal I see traceback:
> 
> Traceback (most recent call last):
>   File "C:\work\Bazaar\plugins-repo\qbzr\log.py", line 274, in 
> update_selection
>     self.branch.repository.get_deltas_for_revisions([rev]).next()
>   File "bzrlib\repository.pyc", line 1027, in get_deltas_for_revisions
>   File "bzrlib\repository.pyc", line 1026, in <genexpr>
>   File "bzrlib\repository.pyc", line 1406, in revision_trees
>   File "bzrlib\repofmt\pack_repo.pyc", line 1481, in get_inventory_weave
>   File "bzrlib\repofmt\pack_repo.pyc", line 1384, in get_weave
>   File "bzrlib\repofmt\pack_repo.pyc", line 918, in ensure_loaded
> AssertionError
> 
> Line numbers related to bzrlib revno.2944. I'm on win32 as usual.
> 
> For this assertion I see in pack_repo.py next comment:
> 
> # NB: if you see an assertion error here, its probably access against
> # an unlocked repo. Naughty.
> 
> Probably it's regression, because as I said before, for old formats
> the same QBzr code works fine?
> 
> Alexander
> 
> 
> 
> 




More information about the bazaar mailing list