Comment 15 for bug 250451

Revision history for this message
Arjen Lentz (arjen-lentz) wrote :

Another example

$ bzr push
Using saved push location: bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/5.1.39-oqgraph/
Unable to obtain lock lp-46129552:///~maria-captains/maria/5.1.39-oqgraph/.bzr/branch/lock
held by <email address hidden> on host crowberry [process #5258]
locked 4 minutes, 30 seconds ago
Will continue to try until 01:25:56, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock lp-46129552:///~maria-captains/maria/5.1.39-oqgraph/.bzr/branch/lock
bzr: ERROR: Could not acquire lock "(remote lock)":

(trying with the suggested URL)
$ bzr break-lock lp-46129552:///~maria-captains/maria/5.1.39-oqgraph/.bzr/branch/lock
bzr: ERROR: Unsupported protocol for url "lp-46129552:///~maria-captains/maria/5.1.39-oqgraph/.bzr/branch/lock"

(this works, using the url from bzr info)
$ bzr break-lock bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/5.1.39-oqgraph/
Break lock bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/5.1.39-oqgraph/.bzr/branch/lock
held by <email address hidden> on host crowberry [process #5258]
locked 9 minutes, 57 seconds ago? [y/n]: y

In a nutshell, the url shown is wrong/invalid/unusable.
Solution: change it ;-)