remote branches can't be bound

Bug #112020 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

RemoteBranch.bind raises UpgradeRequired. I suppose binding remote branches is not urgently needed but is there any good reason why it can't be done?

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

I tried naively just doing

    @needs_write_lock
    def bind(self, other):
        self._ensure_real()
        return self._real_branch.bind(other)

however, this causes the hooks to be invoked with the _real_branch, which is wrong (and fortunately is caught by hook tests.)

Jelmer Vernooij (jelmer)
tags: added: 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.