annotate pull-workflow.tex @ 169:a31f69e58759

Reintroduce pull workflow.
author Martin Geisler <mg@aragost.com>
date Tue, 27 Apr 2010 13:44:16 +0200
parents
children 526e5f40124a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
1 \begin{frame}{Pull Workflow}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
2 \tikzstyle{rev}+=[on chain, minimum size=5mm, font=\small]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
3 \tikzstyle{a}=[rev, draw=yellow!50!black!50, bottom color=yellow!50!black!20]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
4 \tikzstyle{b}=[rev, draw=green!30!black!50, bottom color=green!30!black!20]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
5 \tikzstyle{c}=[rev, draw=blue!50!black!50, bottom color=blue!50!black!20]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
6 \tikzstyle{join-above}=[out=0, in=240]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
7 \tikzstyle{join-below}=[out=-90, in=180]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
8 \tikzset{node distance=8mm and 10mm, on grid}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
9
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
10 People have read-only access (e.g., \cmd{hg serve}):
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
11 \medskip
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
12
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
13 \begin{tikzpicture}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
14 \begin{scope}[start chain=alice]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
15 \node[rev,on chain,label=above:Alice] {0};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
16 \begin{scope}[start branch=bob]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
17 \node<5->[b,on chain=going below right, join=by join-below] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
18 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
19 \node<2->[a,join] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
20 \node<3->[a,join] {2};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
21 \node<6->[a,join,join=with alice/bob-end by join-above] {3};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
22 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
23
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
24 \begin{scope}[start chain=bob, shift={(6, 0)}]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
25 \node[rev,label=above:Bob] {0};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
26 \node<4->[b,join] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
27 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
28
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
29 \begin{scope}[start chain=carla, shift={(2, -3)}]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
30 \node[rev,label=above:Carla] {0};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
31 \begin{scope}[start branch=bob]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
32 \node<9->[b,on chain=going below right, join=by join-below] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
33 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
34 \begin{scope}[start branch=alice]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
35 \node<11->[a,join=by join-below,below=of carla/bob-2] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
36 \node<11->[a,join] {2};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
37 \node<11->[a,join,join=with carla/bob-end by {out=0, in=120}] {3};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
38 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
39
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
40 \node<7->[c,join] {1};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
41 \node<8->[c,join] {2};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
42 \node<10->[c,join] {3};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
43 \node<12->[c,join, join=with carla/alice-end by {out=0, in=-90}] {4};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
44
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
45 \node<1-5>[fit=(alice-begin) (alice-end)] (A) {};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
46 \node<6->[fit=(alice-begin) (alice-end) (alice/bob-end)] (A) {};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
47 \node[fit=(bob-begin) (bob-end)] (B) {};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
48 \node[fit=(carla-begin) (carla-end)] (C) {};
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
49
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
50 \tikzstyle{every path}=[->, short]
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
51 \draw<5> (B) -- node[below] {\cmd{pull}} (A);
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
52 \draw<9> (B) -- node[below right] {\cmd{pull}} (C);
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
53 \draw<11> (A) -- node[above right] {\cmd{pull}} (C);
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
54 \end{scope}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
55 \end{tikzpicture}
a31f69e58759 Reintroduce pull workflow.
Martin Geisler <mg@aragost.com>
parents:
diff changeset
56 \end{frame}