Writing to LP mirrored branch gives unclear error

Bug #501947 reported by Matt Nordhoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Breezy
Triaged
Low
Unassigned
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Trying to write to a mirrored branch on Launchpad just gives the generic "readonly transport" error message, which isn't very useful.

This came up in #bzr a couple days ago, and it took 3 of us half an hour to realize what was going on. :P

$ bzr push lp:~mnordhoff/loggerhead/cheezum
bzr: ERROR: Cannot lock LockDir(lp-64863440:///~mnordhoff/loggerhead/cheezum/.bzr/branchlock): Transport operation not possible: readonly transport

Revision history for this message
Martin Pool (mbp) wrote :

There is another bug about the poor 'Transport operation not possible' message in the general case.

Presumably this case we'd like Launchpad to say "can't write to mirrored branch" across the bzr protocol, and then to have bzr report that error. That may not need any code changes in bzr.

Over plain http it may be hard.

Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

It's going to be a bit awkward in Launchpad to propagate around _why_ something is read-only, but I guess it's doable and would be worth doing if someone was motivated to do it.

Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Low
Jonathan Lange (jml)
tags: added: launchpad lpurl
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Low
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.