~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Patch Queue Manager
  • Date: 2012-02-25 15:28:53 UTC
  • mfrom: (6475.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20120225152853-nz1w2gsfv7lc1yq4
(jelmer) Update documentation to mention command hooks landed in bzr 2.6
 rather than 2.5. (Brian de Alwis)

Show diffs side-by-side

added added

removed removed

Lines of Context:
794
794
            (1, 17))
795
795
        self.add_hook('pre_command',
796
796
            "Called prior to executing a command. Called with the command "
797
 
            "object.", (2, 5))
 
797
            "object.", (2, 6))
798
798
        self.add_hook('post_command',
799
799
            "Called after executing a command. Called with the command "
800
 
            "object.", (2, 5))
 
800
            "object.", (2, 6))
801
801
 
802
802
Command.hooks = CommandHooks()
803
803