~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2007-09-04 04:12:07 UTC
  • mfrom: (2794 +trunk)
  • mto: (2592.3.126 repository)
  • mto: This revision was merged to the branch mainline in revision 2795.
  • Revision ID: robertc@robertcollins.net-20070904041207-zb3l8hfco0sp6hu8
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
999
999
        # is read locked and the target branches write locked. The local
1000
1000
        # branch is the low-latency branch.
1001
1001
        self['post_pull'] = []
 
1002
        # invoked before a commit operation takes place.
 
1003
        # the api signature is
 
1004
        # (local, master, old_revno, old_revid, future_revno, future_revid,
 
1005
        #  tree_delta, future_tree).
 
1006
        # old_revid is NULL_REVISION for the first commit to a branch
 
1007
        # tree_delta is a TreeDelta object describing changes from the basis
 
1008
        # revision, hooks MUST NOT modify this delta
 
1009
        # future_tree is an in-memory tree obtained from
 
1010
        # CommitBuilder.revision_tree() and hooks MUST NOT modify this tree
 
1011
        self['pre_commit'] = []
1002
1012
        # invoked after a commit operation completes.
1003
1013
        # the api signature is 
1004
1014
        # (local, master, old_revno, old_revid, new_revno, new_revid)