/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: Gustav Hartvigsson
  • Date: 2021-01-11 20:19:38 UTC
  • mfrom: (7526.3.2 work)
  • Revision ID: gustav.hartvigsson@gmail.com-20210111201938-omr9wjz3qdgyxe8k
MergedĀ lp:brz

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',