/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
2767.2.2 by Aaron Bentley
Split hooks doc into guide and reference
1
###############
2
Hooks Reference 
3
###############
4
5
post_push
6
#########
7
8
Run after ``push`` has completed.
9
10
The hook signature is (push_result), containing the members
11
(source, local, master, old_revno, old_revid, new_revno, new_revid)
12
where local is the local target branch or None, master is the target 
13
master branch, and the rest should be self-explanatory. The source
14
is read-locked and the target branches are write-locked. Source will
15
be the local low-latency branch.
16
17
18
post_pull
19
#########
20
Run after ``pull`` has completed.
21
22
The hook signature is (push_result) containing the members
23
(source, local, master, old_revno, old_revid, new_revno, new_revid)
24
where local is the local target branch or None, master is the target 
25
master branch, and the rest should be self explanatory. The source
26
is read-locked and the target branches are write-locked. Source will
27
be the local low-latency branch.
28
29
post_commit
30
###########
31
Run after ``commit`` has completed.
32
33
The hook signature is (local, master, old_revno, old_revid, new_revno,
34
new_revid) old_revid is NULL_REVISION for the first commit to a branch.
35
36
post_uncommit
37
#############
38
Run after ``uncommit`` has completed.
39
40
The api signature is (local, master, old_revno, old_revid, new_revno,
41
new_revid) where local is the local branch or None, master is the target
2769.1.1 by Kent Gibson
Tweak Hook documentation
42
branch, and an empty branch receives new_revno of 0, new_revid of None.
2767.2.2 by Aaron Bentley
Split hooks doc into guide and reference
43
44
set_rh
45
######
46
Run after the branch's revision history has been modified (push, pull, commit
47
and uncommit can all modify the revision history).
48
49
The hook signature is (branch, revision_history), and the branch will be
50
write-locked.
51
52
See also `Using Hooks <../user-guide/hooks.html>`_.