bzr suggests wrong URL for break-lock for smart-server branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Parth Malwankar | ||
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
This was reported on #bzr:
----
tacone@
Using saved location: bzr+ssh://<email address hidden>
Unable to obtain lock lp-147252812:
held by <email address hidden> on host vostok [process #4551]
locked 5 minutes, 33 seconds ago
Will continue to try until 09:06:10, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock lp-147252812:
bzr: ERROR: Could not acquire lock "(remote lock)"
tacone@
61
tacone@
bzr: ERROR: Unsupported protocol for url "lp-147252812:
tacone@
----
bzr, or bazaar.
We can maybe fix this in the client, but ideally the server would never expose confusing implementation details to the client.
Related branches
- Vincent Ladeuil: Needs Fixing
- Martin Packman (community): Needs Fixing
-
Diff: 214 lines (+66/-52)5 files modifiedNEWS (+5/-0)
bzrlib/errors.py (+0/-2)
bzrlib/lockdir.py (+32/-24)
bzrlib/remote.py (+10/-3)
bzrlib/tests/test_lockdir.py (+19/-23)
Changed in launchpad-bazaar: | |
status: | New → Confirmed |
summary: |
- bzr suggests wrong URL for break-lock with a LP hosted branch + break-lock suggests wrong URL |
summary: |
- break-lock suggests wrong URL + break-lock suggests wrong URL for remote branches |
summary: |
- break-lock suggests wrong URL for remote branches + break-lock suggests wrong URL for smart-server branches |
summary: |
- break-lock suggests wrong URL for smart-server branches + bzr suggests wrong URL for break-lock for smart-server branches |
Changed in bzr: | |
milestone: | none → 2.2.0 |
Changed in bzr: | |
assignee: | nobody → Parth Malwankar (parthm) |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | 2.2.0 → 2.2b4 |
Changed in launchpad: | |
status: | Confirmed → Triaged |
importance: | Undecided → Low |
I'm sure this was originally filed against Launchpad-Bazaar, not Bazaar, not sure how it got changed. It does seem that Bazaar gets break-lock urls wrong for the hpss all on its own though...