remote branches can't be bound
Bug #112020 reported by
Martin Pool
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?
Changed in bzr: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
tags: | added: check-for-breezy |
To post a comment you must log in.
I tried naively just doing
@needs_ write_lock
self._ ensure_ real() branch. bind(other)
def bind(self, other):
return self._real_
however, this causes the hooks to be invoked with the _real_branch, which is wrong (and fortunately is caught by hook tests.)