Commands on file doesn't work with lightweight checkout from distant repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
With a lightweight checkout from distant repository (at least bzr://), commands on file like annotate, or log (only with --xml option from bzr-xmloutput)
Exemple :
$ bzr init-repo --no-trees repo
$ bzr init repo/branch
$ bzr serve --directory=repo
Use normal checkout
$ bzr checkout bzr://localhost
$ cd branch
$ echo "test" > file
$ bzr add file
$ bzr ci
$ bzr annotate file
1 Alexand | test
With lightweight checkout
$ cd ..
$ bzr co --lightweight bzr://localhost
$ cd branch_light
$ bzr annotate file
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/opt/bzr/
return run_bzr(argv)
File "/opt/bzr/
ret = run(*run_argv)
File "/opt/bzr/
return self.run(
File "/opt/bzr/
result = func(*args, **kwargs)
File "/opt/bzr/
show_
File "/opt/bzr/
annotation = list(_annotate_
File "/opt/bzr/
annotations = _annotations(
File "/opt/bzr/
w = repo.weave_
File "/opt/bzr/
self.
File "/opt/bzr/
raise errors.
ObjectNotLocked: KnitPackReposit
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/opt/
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'
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.
It's the same with Bazaar 1.5.
gannotate from bzr-gtk works just fine.