why does branch gets locked?

Asked by Abhilash Muthuraj

abhilash@abhilash:~/file$ bzr push lp:~abhilashm86/+junk/window --use-existing-dir
Unable to obtain lock lp-45197200:///~abhilashm86/+junk/window/.bzr/branch/lock
held by <email address hidden> on host abhilash [process #7371]
locked 11 minutes, 14 seconds ago
Will continue to try until 06:33:39, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock lp-45197200:///~abhilashm86/+junk/window/.bzr/branch/lock
bzr: ERROR: Could not acquire lock "(remote lock)"

i just created a branch, wanted to upload file, but what does this above error means, i'm unable to un lock as the protocol is not supporting..........
how to just ignore or unlock this?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Guilherme Salgado
Solved:
Last query:
Last reply:
Revision history for this message
Best Guilherme Salgado (salgado) said :
#1

The lp: transport supports breaking locks, so you should be able to break the lock by doing this

  bzr break-lock lp:~abhilashm86/+junk/window

Have you tried that?

As for your question about locking, bzr needs to do so whenever it performs an operation that writes to the branch.

Revision history for this message
Abhilash Muthuraj (abhilashm86) said :
#2

Thanks Guilherme Salgado, that solved my question.