Project

General

Profile

Support #643

bazaar lock

Added by Santos, Edward about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Build System
Target version:
Start date:
08 August 2011
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

So I was going to push another revision to my branch, but when I did bzr commit I noticed I was about to push unwanted modifications... So I quit the emacs without saving and went to fix what I had to fix.

When I try to commit again, I get this error message.

bzr: ERROR: Could not acquire lock "/home/penguin/maus/.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable

This happened to me once and I managed to fix it but I can't find the solution anymore. Someone?

Edward

#1

Updated by Rogers, Chris about 12 years ago

try:

bzr help commands | grep lock

returns:
break-lock       Break a dead lock on a repository, branch or working

#2

Updated by Rogers, Chris about 12 years ago

  • Category set to Build System
  • Assignee set to Santos, Edward
  • Target version set to Future MAUS release
#3

Updated by Santos, Edward about 12 years ago

I tried that, it returns:

bzr: ERROR: The lock for '/home/penguin/maus' is in use and cannot be broken.

(yes, my username is penguin...)

#4

Updated by Rogers, Chris about 12 years ago

Sure the process is not still alive that started bzr?

#5

Updated by Rogers, Chris about 12 years ago

e.g.

ps -e | grep bzr

#6

Updated by Santos, Edward about 12 years ago

Returns:

13558 pts/1 00:00:00 bzr

I killed it and then I was able to do

bzr break-lock

which solved the case! Thanks, Chris!

ES

#7

Updated by Rogers, Chris about 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

V good!

Also available in: Atom PDF