$ 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 ;-)
Another example
$ bzr push //bazaar. launchpad. net/~maria- captains/ maria/5. 1.39-oqgraph/ ///~maria- captains/ maria/5. 1.39-oqgraph/ .bzr/branch/ lock ///~maria- captains/ maria/5. 1.39-oqgraph/ .bzr/branch/ lock
Using saved push location: bzr+ssh:
Unable to obtain lock lp-46129552:
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:
bzr: ERROR: Could not acquire lock "(remote lock)":
(trying with the suggested URL) ///~maria- captains/ maria/5. 1.39-oqgraph/ .bzr/branch/ lock ///~maria- captains/ maria/5. 1.39-oqgraph/ .bzr/branch/ lock"
$ bzr break-lock lp-46129552:
bzr: ERROR: Unsupported protocol for url "lp-46129552:
(this works, using the url from bzr info) //bazaar. launchpad. net/~maria- captains/ maria/5. 1.39-oqgraph/ //bazaar. launchpad. net/~maria- captains/ maria/5. 1.39-oqgraph/ .bzr/branch/ lock
$ bzr break-lock bzr+ssh:
Break lock bzr+ssh:
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 ;-)