bzrlib.errors.ObjectNotLocked annotating file from other branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Andrew Bennetts | ||
2.0 |
Fix Released
|
Medium
|
Andrew Bennetts | ||
2.1 |
Fix Released
|
Undecided
|
Andrew Bennetts |
Bug Description
Steps to reproduce:
$ bzr init-repo repo
$ cd repo
$ bzr init trunk
$ cd trunk
$ echo foo > foo
$ bzr add foo
$ bzr ci -m foo
$ cd ..
$ bzr co --lightweight trunk work
$ cd work
$ bzr --no-plugins annotate -r branch:../trunk foo
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File ".../bzr.
return the_callable(*args, **kwargs)
File ".../bzr.
ret = run(*run_argv)
File ".../bzr.
return self.run(
File ".../bzr.
result = func(*args, **kwargs)
File ".../bzr.
file_version = tree.inventory[
File ".../bzr.
self.
File ".../bzr.
self.
File ".../bzr.
self._root_node = self._get_
File ".../bzr.
bytes = self._read_
File ".../bzr.
bytes = stream.
File ".../bzr.
orig_keys, ordering, include_
File ".../bzr.
locations = self._index.
File ".../bzr.
self.
File ".../bzr.
raise errors.
ObjectNotLocked: <bzrlib.
bzr 2.1.0dev4 on python 2.6.4 (Linux-
arguments: ['.../bzr.dev/bzr', '--no-plugins', 'annotate', '-r', 'branch:../trunk', 'foo']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.utf8'
plugins:
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
This happened with current bzr.dev, i.e. 4894 resp. <email address hidden>
Related branches
- Martin Pool: Approve
-
Diff: 102 lines (+40/-19)3 files modifiedNEWS (+3/-0)
bzrlib/builtins.py (+19/-15)
bzrlib/tests/blackbox/test_annotate.py (+18/-4)
- Martin Pool: Approve
-
Diff: 2070 lines (+764/-813)15 files modifiedNEWS (+5/-0)
bzrlib/builtins.py (+704/-793)
bzrlib/cleanup.py (+11/-2)
bzrlib/commands.py (+28/-2)
bzrlib/tests/commands/test_branch.py (+3/-3)
bzrlib/tests/commands/test_cat.py (+1/-1)
bzrlib/tests/commands/test_checkout.py (+2/-2)
bzrlib/tests/commands/test_commit.py (+1/-1)
bzrlib/tests/commands/test_init.py (+1/-1)
bzrlib/tests/commands/test_init_repository.py (+1/-1)
bzrlib/tests/commands/test_merge.py (+1/-1)
bzrlib/tests/commands/test_missing.py (+1/-1)
bzrlib/tests/commands/test_pull.py (+2/-2)
bzrlib/tests/commands/test_push.py (+2/-2)
bzrlib/tests/commands/test_update.py (+1/-1)
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: annotate |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Andrew Bennetts (spiv) |
Is this now fix released in 2.1?