Comment 1 for bug 112020

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.)