Comment 1 for bug 391411

Revision history for this message
Martin Pool (mbp) wrote :

This branch <https://code.edge.launchpad.net/~mbp/bzr/391411-reconfigure-stacked> does add the requested options, but in an ad hoc test against Launchpad it fails with LockNotHeld: Lock not held: RemoteRepository(bzr+ssh://bazaar.launchpad.net/~bzr-core/bzr/devnotes/.bzr/)

29.145 Traceback (most recent call last):
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 835, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 1030, in run_bzr
    ret = run(*run_argv)
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 647, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/builtins.py", line 5288, in run
    branch.unlock()
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/remote.py", line 2250, in unlock
    self.repository.unlock()
  File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/remote.py", line 1028, in unlock
    raise errors.LockNotHeld(self)
LockNotHeld: Lock not held: RemoteRepository(bzr+ssh://bazaar.launchpad.net/~bzr-core/bzr/devnotes/.bzr/)