backout merge from default location (bzr server) fails with ObjectNotLockedError

Bug #414869 reported by Alexander Belchenko on 2009-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

I've made branch from bzr server and then want to backout some revisions and got error. On bzr server branch resides inside shared repo. On local disk I'm also using shared repo.

bzr branch bzr://host/repo/branch
cd branch
bzr merge -r245..244

And got error:

C:\work\MyCode\branch>bzr merge -r245..244
Merging from remembered parent location bzr://host/repo/branch/
Merging from remembered parent location bzr://host/repo/branch/
bzr: ERROR: bzrlib.errors.ObjectNotLocked: _KnitGraphIndex(CombinedGraphIndex(GraphIndex('bzr://host/repo/.bzr/repository/indices/1be11e45e6965720333219afc18eac5b.rix'))) is not locked

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 835, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1030, in run_bzr
  File "bzrlib\commands.pyo", line 647, in run_argv_aliases
  File "C:\work\Bazaar\plugins\qbzr\lib\commands.py", line 685, in run
  File "bzrlib\builtins.pyo", line 3683, in run
  File "bzrlib\builtins.pyo", line 3778, in _get_merger_from_branch
  File "bzrlib\revisionspec.pyo", line 243, in as_revision_id
  File "bzrlib\revisionspec.pyo", line 387, in _as_revision_id
  File "bzrlib\revisionspec.pyo", line 380, in _lookup
  File "bzrlib\remote.pyo", line 2271, in get_rev_id
  File "bzrlib\remote.pyo", line 691, in get_rev_id_for_revno
  File "bzrlib\remote.pyo", line 684, in _get_rev_id_for_revno_vfs
  File "bzrlib\repository.pyo", line 2269, in get_rev_id_for_revno
  File "bzrlib\repository.pyo", line 4370, in _iter_for_revno
  File "bzrlib\repository.pyo", line 2299, in iter_reverse_revision_history
  File "bzrlib\graph.pyo", line 167, in get_parent_map
  File "bzrlib\repository.pyo", line 2457, in get_parent_map
  File "bzrlib\knit.pyo", line 1193, in get_parent_map
  File "bzrlib\knit.pyo", line 1212, in _get_parent_map_with_sources
  File "bzrlib\knit.pyo", line 3047, in get_parent_map
  File "bzrlib\knit.pyo", line 2930, in _check_read
ObjectNotLocked: _KnitGraphIndex(CombinedGraphIndex(GraphIndex('bzr://host/repo/.bzr/repository/indices/1be11e45e6965720333219afc18eac5b.rix'))) is not locked

bzr 1.17 on python 2.5.4 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'merge', '-r245..244']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
  acad C:\work\Bazaar\plugins\acad [0.8]
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.17]
  explorer C:\work\Bazaar\plugins\explorer [0.7dev]
  fastimport C:\work\Bazaar\plugins\fastimport [0.9dev]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [1.17]
  qbzr C:\work\Bazaar\plugins\qbzr [0.14dev]
  rebase C:\work\Bazaar\plugins\rebase [0.5.4dev]
  repoalias C:\work\Bazaar\plugins\repoalias [unknown]
  scmproj C:\work\Bazaar\plugins\scmproj [0.4.5.dev.2]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0]
*** 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.

Version of bzr on the bzr server:

Bazaar (bzr) 1.11
  Python interpreter: D:\Program Files\Bazaar\python25.dll 2.5.4
  Python standard library: D:\Program Files\Bazaar\lib\library.zip
  bzrlib: D:\Program Files\Bazaar\lib\library.zip\bzrlib
  Bazaar configuration: C:\Documents and Settings\modul98\Application Data\bazaar\2.0
  Bazaar log file: D:\Мои документы\.bzr.log

Branch/repo format: pack-0.92

jam told me it's a duplicate of bug with log -rXXX over bzr+ssh, but I
can't find this bug.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers