~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2007-06-28 06:32:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2560.
  • Revision ID: robertc@robertcollins.net-20070628063203-lr39jqb65223ts09
Increase docs in response to review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
        else:
494
494
            old_revid = bzrlib.revision.NULL_REVISION
495
495
        for hook in Branch.hooks['post_commit']:
 
496
            # show the running hook in the progress bar. As hooks may
 
497
            # end up doing nothing (e.g. because they are not configured by
 
498
            # the user) this is still showing progress, not showing overall
 
499
            # actions - its up to each plugin to show a UI if it want's to
 
500
            # (such as 'Emailing diff to foo@example.com').
496
501
            self.pb_stage_name = "Running post commit hooks [%s]" % \
497
502
                Branch.hooks.get_hook_name(hook)
498
503
            self._emit_progress()