Comment 3 for bug 720403

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

I wonder if this could have happened through two people racing to initialize the same branch at the same time.

  Traceback (most recent call last):
  Module bzrlib.smart.request, line 355, in _call_converting_errors
    return callable(*args, **kwargs)
  Module bzrlib.smart.request, line 140, in execute
    return self.do(*args)
  Module bzrlib.smart.bzrdir, line 188, in do
    result = format.initialize(bzrdir)
  Module bzrlib.branch, line 2212, in initialize
    return self._initialize_helper(a_bzrdir, utf8_files, name)
  Module bzrlib.branch, line 1646, in _initialize_helper
    control_files.create_lock()
  Module bzrlib.lockable_files, line 110, in create_lock
    self._lock.create(mode=self._dir_mode)
  Module bzrlib.lockdir, line 204, in create
    raise LockFailed(self, e)
LockFailed: Cannot lock LockDir(lp-83932112:///~ubuntu-nl-website/ubuntu-nl-website/voting/.bzr/branchlock): File exists: u'/srv/bazaar.launchpad.net/mirrors/00/06/77/4a/.bzr/branch/lock': [Errno 17] File exists: '/srv/bazaar.launchpad.net/mirrors/00/06/77/4a/.bzr/branch/lock'