~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-23 03:52:00 UTC
  • mfrom: (3681.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080923035200-4k29gtzxfev8l3a0
(robertc) Add a Branch.open hook. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1296
1296
        self._repo_lock_token = None
1297
1297
        self._lock_count = 0
1298
1298
        self._leave_lock = False
 
1299
        # The base class init is not called, so we duplicate this:
 
1300
        hooks = branch.Branch.hooks['open']
 
1301
        for hook in hooks:
 
1302
            hook(self)
1299
1303
        self._setup_stacking()
1300
1304
 
1301
1305
    def _setup_stacking(self):