/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 doc/en/user-guide/hooks.txt

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2021-01-10 01:31:27 UTC
  • mfrom: (7526.2.2 merge-3.1)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: breezy.the.bot@gmail.com-20210110013127-vn6x2k2uv21p805n
Merge lp:brz/3.1

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/396037

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
 
29
29
    def post_push_hook(push_result):
30
 
        print "The new revno is %d" % push_result.new_revno
 
30
        print("The new revno is %d" % push_result.new_revno)
31
31
 
32
32
 
33
33
    branch.Branch.hooks.install_named_hook('post_push', post_push_hook,
62
62
    from breezy import hooks
63
63
 
64
64
    def post_push_hook(push_result):
65
 
        print "The new revno is %d" % push_result.new_revno
 
65
        print("The new revno is %d" % push_result.new_revno)
66
66
 
67
67
 
68
68
    hooks.install_lazy_named_hook('breezy.branch', 'Branch.hooks',