/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2007-06-28 08:29:44 UTC
  • mto: (2553.2.15 integration)
  • mto: This revision was merged to the branch mainline in revision 2577.
  • Revision ID: robertc@robertcollins.net-20070628082944-g033tsq16abxue3h
Allow -Dhooks to get the hooks invoked during commit logged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
from cStringIO import StringIO
58
58
 
59
59
from bzrlib import (
 
60
    debug,
60
61
    errors,
61
62
    inventory,
62
63
    tree,
501
502
            self.pb_stage_name = "Running post commit hooks [%s]" % \
502
503
                Branch.hooks.get_hook_name(hook)
503
504
            self._emit_progress()
 
505
            if 'hooks' in debug.debug_flags:
 
506
                mutter("Invoking commit hook: %r", hook)
504
507
            hook(hook_local, hook_master, old_revno, old_revid, new_revno,
505
508
                self.rev_id)
506
509