~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/workingtree.py

  • Committer: Patch Queue Manager
  • Date: 2012-01-06 20:14:36 UTC
  • mfrom: (6435.1.2 post-tree-build-hook)
  • Revision ID: pqm@pqm.ubuntu.com-20120106201436-ko6esavn69wt1lwt
(jelmer) Add post_build_tree hook to MutableTree. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    xml5,
31
31
    )
32
32
from bzrlib.decorators import needs_read_lock
 
33
from bzrlib.mutabletree import MutableTree
33
34
from bzrlib.transport.local import LocalTransport
34
35
from bzrlib.workingtree import (
35
36
    WorkingTreeFormat,
113
114
            parent_trees = [(revision_id, basis_tree)]
114
115
        wt.set_parent_trees(parent_trees)
115
116
        transform.build_tree(basis_tree, wt)
 
117
        for hook in MutableTree.hooks['post_build_tree']:
 
118
            hook(wt)
116
119
        return wt
117
120
 
118
121
    def __init__(self):