break-lock doesn't do the trick.

Asked by Peter Gebauer

This is what bzr returns after bzr push lp:~peter-stockholm/barcodesforpython/main :

bzr: ERROR: Cannot lock LockDir(bzr+ssh://bazaar.launchpad.net/%7Epeter-stockholm/barcodesforpython/main/.bzr/branch/lock): File exists: '/srv/bazaar.launchpad.net/push-branches/00/00/93/9e/.bzr/branch/lock'

bzr break-lock lp:~peter-stockholm/barcodesforpython/main does not help.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Gebauer
Solved:
Last query:
Last reply:
Revision history for this message
Paul Hummer (rockstar) said :
#1

It would be helpful if I could see the full output, but I would suggest trying `bzr break-lock :push` and if that doesn't work, then please post all the output from that command.

Revision history for this message
Peter Gebauer (peter-stockholm) said :
#2

Is this the command you mean "bzr break-lock push:~peter-stockholm/barcodesforpython/main" ?
In any case, what I pasted above is all I get as output even with -v, don't know how to get more output from bzr.

Revision history for this message
Brad Crittenden (bac) said :
#3

Peter your branch appears to be empty. You could try deleting it using the web interface and pushing again.

Revision history for this message
Brad Crittenden (bac) said :
#4

Peter, to answer your other question, the use of ":push" in place of a location tells bzr to substitute the push location. You can also use :parent, :submit, :public, :this, and :bound as appropriate. These aliases were introduced in bzr 1.6.

Revision history for this message
Peter Gebauer (peter-stockholm) said :
#5

I created a new branch because I wanted to get the sources up, if there's a way to delete the locked branch that is good enough for me. I hope that is ok.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :
#6

bzr push nosmart+bzr+ssh://bazaar.launchpad.net/....... will do.