~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-22 15:44:21 UTC
  • mfrom: (5171.1.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100422154421-eeit8sxsvtxxherb
(vila) Merge 2.2 into bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
3171
3171
        """
3172
3172
        raise NotImplementedError(self.open)
3173
3173
 
3174
 
    def _run_post_repo_init_hooks(self, repository, a_bzrdir, shared):
3175
 
        from bzrlib.bzrdir import BzrDir, RepoInitHookParams
3176
 
        hooks = BzrDir.hooks['post_repo_init']
3177
 
        if not hooks:
3178
 
            return
3179
 
        params = RepoInitHookParams(repository, self, a_bzrdir, shared)
3180
 
        for hook in hooks:
3181
 
            hook(params)
3182
 
 
3183
3174
 
3184
3175
class MetaDirRepositoryFormat(RepositoryFormat):
3185
3176
    """Common base class for the new repositories using the metadir layout."""