~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.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:
520
520
            "called with a bzrlib.mutabletree.PostCommitHookParams object. "
521
521
            "The mutable tree the commit was performed on is available via "
522
522
            "the mutable_tree attribute of that object.", (2, 0))
 
523
        self.add_hook('post_build_tree',
 
524
            "Called after a completely new tree is built. The hook is "
 
525
            "called with the tree as its only argument.", (2, 5))
523
526
 
524
527
 
525
528
# install the default hooks into the MutableTree class.