author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Mon, 23 Oct 2017 15:50:19 +0200 | |
branch | mercurial-4.2 |
changeset 3128 | ef04514bca47 |
parent 3117 | 3e2abd40da07 |
child 3118 | a1cdc128defd |
child 3419 | 1e2f683e11e7 |
permissions | -rw-r--r-- |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
1 |
============== |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
2 |
Topic Tutorial |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
3 |
============== |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
4 |
|
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
5 |
This Mercurial configuration example is used for testing. |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
6 |
|
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
7 |
.. Various setup |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
8 |
|
2045
db617700d318
tests: move "test setup" script into a 'testlib' directory
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2014
diff
changeset
|
9 |
$ . "$TESTDIR/testlib/topic_setup.sh" |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
10 |
$ cat >> $HGRCPATH << EOF |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
11 |
> [experimental] |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
12 |
> evolution=all |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
13 |
> [extensions] |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
14 |
> evolve= |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
15 |
> EOF |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
16 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
17 |
$ hg init server |
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
18 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
19 |
$ cd server |
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
20 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
21 |
$ cat >> .hg/hgrc << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
22 |
> [ui] |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
23 |
> user= Shopping Master |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
24 |
> EOF |
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
25 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
26 |
$ cat >> shopping << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
27 |
> Spam |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
28 |
> Whizzo butter |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
29 |
> Albatross |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
30 |
> Rat (rather a lot) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
31 |
> Jugged fish |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
32 |
> Blancmange |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
33 |
> Salmon mousse |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
34 |
> EOF |
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
35 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
36 |
$ hg commit -A -m "Shopping list" |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
37 |
adding shopping |
2826
93588d219f2f
doc: various little improvements for rst export
Boris Feld <boris.feld@octobus.net>
parents:
2825
diff
changeset
|
38 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
39 |
$ cd .. |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
40 |
$ hg clone server client |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
41 |
updating to branch default |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
42 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
43 |
$ cd client |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
44 |
$ cat >> .hg/hgrc << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
45 |
> [ui] |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
46 |
> user= Tutorial User |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
47 |
> EOF |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
48 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
49 |
$ . "$TESTDIR/testlib/docgraph_setup.sh" #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
50 |
#endif |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
51 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
52 |
Topic branches are lightweight branches which disappear when changes are |
2885 | 53 |
finalized (moved to the public phase). They can help users to organize and share |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
54 |
their unfinished work. |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
55 |
|
2979
f91f780cb2e6
topic/tuto: be more precise in the top introduction about the publishing server
Aurélien Campéas
parents:
2978
diff
changeset
|
56 |
In this tutorial, we explain how to use topics for local development. In the first part, |
f91f780cb2e6
topic/tuto: be more precise in the top introduction about the publishing server
Aurélien Campéas
parents:
2978
diff
changeset
|
57 |
there is a central *publishing* server. Anything pushed to the central server will become public and immutable This means no unfinished work should escapes the local repository. |
2971
222ad649380b
topics/tuto: clarification on the scope of the tutorial
Aurélien Campéas
parents:
2970
diff
changeset
|
58 |
|
222ad649380b
topics/tuto: clarification on the scope of the tutorial
Aurélien Campéas
parents:
2970
diff
changeset
|
59 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
60 |
Topic Basics |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
61 |
============ |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
62 |
|
2825 | 63 |
Let's say we use Mercurial to manage our shopping list: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
64 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
65 |
$ hg log --graph |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
66 |
@ changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
67 |
tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
68 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
69 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
70 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
71 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
72 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
73 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
74 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
75 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
76 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
77 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
78 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
79 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
80 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
81 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
82 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
83 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
84 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
85 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
86 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
87 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
88 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
89 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
90 |
width=0.5]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
91 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
92 |
#endif |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
93 |
|
2885 | 94 |
We are about to make some additions to this list and would like to do them |
2825 | 95 |
within a topic. Creating a new topic is done using the ``topic`` command: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
96 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
97 |
$ hg topics food |
2985
f63c97c01f92
topics/ui: signal when the topics command creates a new (empty) topic
Aurélien Campéas
parents:
2984
diff
changeset
|
98 |
marked working directory as topic: food |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
99 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
100 |
Much like a named branch, our topic is active but it does not contain any |
2885 | 101 |
changeset yet: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
102 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
103 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
104 |
* food (0 changesets) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
105 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
106 |
$ hg summary |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
107 |
parent: 0:38da43f0a2ea tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
108 |
Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
109 |
branch: default |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
110 |
commit: (clean) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
111 |
update: (current) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
112 |
topic: food |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
113 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
114 |
$ hg log --graph |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
115 |
@ changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
116 |
tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
117 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
118 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
119 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
120 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
121 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
122 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
123 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
124 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
125 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
126 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
127 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
128 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
129 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
130 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
131 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
132 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
133 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
134 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
135 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
136 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
137 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
138 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
139 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
140 |
width=0.5]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
141 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
142 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
143 |
|
2825 | 144 |
Our next commit will be part of the active topic: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
145 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
146 |
$ cat >> shopping << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
147 |
> Egg |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
148 |
> Suggar |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
149 |
> Vinegar |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
150 |
> Oil |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
151 |
> EOF |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
152 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
153 |
$ hg commit -m "adding condiments" |
2988
62201935e1a7
topics/ui: detect and signal when an empty changeset becomes non-empty
Aurélien Campéas
parents:
2986
diff
changeset
|
154 |
active topic 'food' grew its first changeset |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
155 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
156 |
$ hg log --graph --rev 'topic("food")' |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
157 |
@ changeset: 1:13900241408b |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
158 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
159 |
~ topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
160 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
161 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
162 |
summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
163 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
164 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
165 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
166 |
$ hg docgraph -r "topic("food")" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
167 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
168 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
169 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
170 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
171 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
172 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
173 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
174 |
1 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
175 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
176 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
177 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
178 |
label=1, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
179 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
180 |
pos="1,1!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
181 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
182 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
183 |
width=0.5]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
184 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
185 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
186 |
|
2825 | 187 |
And future commits will be part of that topic too: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
188 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
189 |
$ cat >> shopping << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
190 |
> Bananas |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
191 |
> Pear |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
192 |
> Apple |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
193 |
> EOF |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
194 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
195 |
$ hg commit -m "adding fruits" |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
196 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
197 |
$ hg log --graph --rev 'topic("food")' |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
198 |
@ changeset: 2:287de11b401f |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
199 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
200 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
201 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
202 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
203 |
| summary: adding fruits |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
204 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
205 |
o changeset: 1:13900241408b |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
206 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
207 |
~ user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
208 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
209 |
summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
210 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
211 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
212 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
213 |
$ hg docgraph -r "topic("food")" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
214 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
215 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
216 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
217 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
218 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
219 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
220 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
221 |
1 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
222 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
223 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
224 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
225 |
label=1, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
226 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
227 |
pos="1,1!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
228 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
229 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
230 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
231 |
2 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
232 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
233 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
234 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
235 |
label=2, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
236 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
237 |
pos="1,2!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
238 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
239 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
240 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
241 |
1 -> 2 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
242 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
243 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
244 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
245 |
|
2721
c3a29c7abbee
tutorial: word wrap long lines
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2720
diff
changeset
|
246 |
We can get a compact view of the content of our topic using the ``stack`` |
2825 | 247 |
command: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
248 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
249 |
$ hg stack |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
250 |
### topic: food |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
251 |
### target: default (branch) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
252 |
t2@ adding fruits (current) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
253 |
t1: adding condiments |
2712
f19b314d8475
topics: add t0 and b0 to the stack
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2679
diff
changeset
|
254 |
t0^ Shopping list (base) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
255 |
|
2825 | 256 |
The topic deactivates when we update away from it: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
257 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
258 |
$ hg update default |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
259 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
260 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
261 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
262 |
food (2 changesets) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
263 |
|
2721
c3a29c7abbee
tutorial: word wrap long lines
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2720
diff
changeset
|
264 |
Note that ``default`` (name of the branch) now refers to the tipmost |
2825 | 265 |
changeset of default without a topic: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
266 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
267 |
$ hg log --graph |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
268 |
o changeset: 2:287de11b401f |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
269 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
270 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
271 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
272 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
273 |
| summary: adding fruits |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
274 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
275 |
o changeset: 1:13900241408b |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
276 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
277 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
278 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
279 |
| summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
280 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
281 |
@ changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
282 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
283 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
284 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
285 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
286 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
287 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
288 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
289 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
290 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
291 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
292 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
293 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
294 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
295 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
296 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
297 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
298 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
299 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
300 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
301 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
302 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
303 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
304 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
305 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
306 |
1 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
307 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
308 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
309 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
310 |
label=1, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
311 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
312 |
pos="1,1!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
313 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
314 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
315 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
316 |
0 -> 1 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
317 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
318 |
2 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
319 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
320 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
321 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
322 |
label=2, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
323 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
324 |
pos="1,2!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
325 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
326 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
327 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
328 |
1 -> 2 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
329 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
330 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
331 |
#endif |
2825 | 332 |
And updating back to the topic reactivates it: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
333 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
334 |
$ hg update food |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
335 |
switching to topic food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
336 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
337 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
338 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
339 |
* food (2 changesets) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
340 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
341 |
Updating to any changeset that is part of a topic activates the topic |
2825 | 342 |
regardless of how the revision was specified: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
343 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
344 |
$ hg update default |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
345 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
346 |
|
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
347 |
$ hg update --rev 'desc("condiments")' |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
348 |
switching to topic food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
349 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
350 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
351 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
352 |
* food (2 changesets) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
353 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
354 |
.. Server side activity: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
355 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
356 |
$ cd ../server/ |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
357 |
$ cat > shopping << EOF |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
358 |
> T-Shirt |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
359 |
> Trousers |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
360 |
> Spam |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
361 |
> Whizzo butter |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
362 |
> Albatross |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
363 |
> Rat (rather a lot) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
364 |
> Jugged fish |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
365 |
> Blancmange |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
366 |
> Salmon mousse |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
367 |
> EOF |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
368 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
369 |
$ hg commit -A -m "Adding clothes" |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
370 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
371 |
$ cd ../client |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
372 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
373 |
The topic will also affect the rebase and the merge destinations. Let's pull |
2825 | 374 |
the latest update from the main server: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
375 |
|
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
376 |
$ hg pull |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
377 |
pulling from $TESTTMP/server (glob) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
378 |
searching for changes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
379 |
adding changesets |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
380 |
adding manifests |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
381 |
adding file changes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
382 |
added 1 changesets with 1 changes to 1 files (+1 heads) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
383 |
(run 'hg heads' to see heads) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
384 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
385 |
$ hg log -G |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
386 |
o changeset: 3:6104862e8b84 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
387 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
388 |
| parent: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
389 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
390 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
391 |
| summary: Adding clothes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
392 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
393 |
| o changeset: 2:287de11b401f |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
394 |
| | topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
395 |
| | user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
396 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
397 |
| | summary: adding fruits |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
398 |
| | |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
399 |
| @ changeset: 1:13900241408b |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
400 |
|/ topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
401 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
402 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
403 |
| summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
404 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
405 |
o changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
406 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
407 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
408 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
409 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
410 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
411 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
412 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
413 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
414 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
415 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
416 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
417 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
418 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
419 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
420 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
421 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
422 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
423 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
424 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
425 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
426 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
427 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
428 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
429 |
1 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
430 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
431 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
432 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
433 |
label=1, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
434 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
435 |
pos="1,1!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
436 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
437 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
438 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
439 |
0 -> 1 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
440 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
441 |
3 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
442 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
443 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
444 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
445 |
label=3, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
446 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
447 |
pos="1,3!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
448 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
449 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
450 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
451 |
0 -> 3 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
452 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
453 |
2 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
454 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
455 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
456 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
457 |
label=2, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
458 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
459 |
pos="1,2!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
460 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
461 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
462 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
463 |
1 -> 2 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
464 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
465 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
466 |
#endif |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
467 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
468 |
The topic head will not be considered when merging from the new head of the |
2825 | 469 |
branch: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
470 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
471 |
$ hg update default |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
472 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
473 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
474 |
$ hg merge |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
475 |
abort: branch 'default' has one head - please merge with an explicit rev |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
476 |
(run 'hg heads' to see all heads) |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
477 |
[255] |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
478 |
|
2825 | 479 |
But the topic will see that branch head as a valid destination: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
480 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
481 |
$ hg update food |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
482 |
switching to topic food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
483 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
484 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
485 |
$ hg rebase |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
486 |
rebasing 1:13900241408b "adding condiments" |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
487 |
merging shopping |
2679
5156a67f66a6
topics: update current topic to the topic of newly rebased commit (issue5551)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2120
diff
changeset
|
488 |
switching to topic food |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
489 |
rebasing 2:287de11b401f "adding fruits" |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
490 |
merging shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
491 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
492 |
$ hg log --graph |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
493 |
@ changeset: 5:2d50db8b5b4c |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
494 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
495 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
496 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
497 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
498 |
| summary: adding fruits |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
499 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
500 |
o changeset: 4:4011b46eeb33 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
501 |
| topic: food |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
502 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
503 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
504 |
| summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
505 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
506 |
o changeset: 3:6104862e8b84 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
507 |
| parent: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
508 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
509 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
510 |
| summary: Adding clothes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
511 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
512 |
o changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
513 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
514 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
515 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
516 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
517 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
518 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
519 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
520 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
521 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
522 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
523 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
524 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
525 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
526 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
527 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
528 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
529 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
530 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
531 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
532 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
533 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
534 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
535 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
536 |
3 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
537 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
538 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
539 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
540 |
label=3, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
541 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
542 |
pos="1,3!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
543 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
544 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
545 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
546 |
0 -> 3 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
547 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
548 |
4 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
549 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
550 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
551 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
552 |
label=4, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
553 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
554 |
pos="1,4!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
555 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
556 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
557 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
558 |
3 -> 4 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
559 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
560 |
5 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
561 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
562 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
563 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
564 |
label=5, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
565 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
566 |
pos="1,5!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
567 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
568 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
569 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
570 |
4 -> 5 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
571 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
572 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
573 |
#endif |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
574 |
|
2825 | 575 |
The topic information will disappear when we publish the changesets: |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
576 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
577 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
578 |
* food (2 changesets) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
579 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
580 |
$ hg push |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
581 |
pushing to $TESTTMP/server (glob) |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
582 |
searching for changes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
583 |
adding changesets |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
584 |
adding manifests |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
585 |
adding file changes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
586 |
added 2 changesets with 2 changes to 1 files |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
587 |
2 new obsolescence markers |
2986
4746b92cc1f8
topics/ui: signal when an operation entails voiding a topic
Aurélien Campéas
parents:
2985
diff
changeset
|
588 |
active topic 'food' is now empty |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
589 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
590 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
591 |
* food (0 changesets) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
592 |
|
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
593 |
The topic still exists, and any new commit will be in the topic. But |
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
594 |
note that it is now devoid of any commit. |
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
595 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
596 |
$ hg topics --list |
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
597 |
### topic: food |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
598 |
### target: default (branch) |
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
599 |
(stack is empty) |
3085
3eca2cbdc498
stack: order the adjective of changeset
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3084
diff
changeset
|
600 |
t0^ adding fruits (base current) |
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
601 |
|
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
602 |
$ hg log --graph |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
603 |
@ changeset: 5:2d50db8b5b4c |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
604 |
| tag: tip |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
605 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
606 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
607 |
| summary: adding fruits |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
608 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
609 |
o changeset: 4:4011b46eeb33 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
610 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
611 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
612 |
| summary: adding condiments |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
613 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
614 |
o changeset: 3:6104862e8b84 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
615 |
| parent: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
616 |
| user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
617 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
618 |
| summary: Adding clothes |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
619 |
| |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
620 |
o changeset: 0:38da43f0a2ea |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
621 |
user: test |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
622 |
date: Thu Jan 01 00:00:00 1970 +0000 |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
623 |
summary: Shopping list |
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
624 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
625 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
626 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
627 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
628 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
629 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
630 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
631 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
632 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
633 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
634 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
635 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
636 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
637 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
638 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
639 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
640 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
641 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
642 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
643 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
644 |
3 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
645 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
646 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
647 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
648 |
label=3, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
649 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
650 |
pos="1,3!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
651 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
652 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
653 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
654 |
0 -> 3 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
655 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
656 |
4 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
657 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
658 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
659 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
660 |
label=4, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
661 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
662 |
pos="1,4!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
663 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
664 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
665 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
666 |
3 -> 4 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
667 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
668 |
5 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
669 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
670 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
671 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
672 |
label=5, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
673 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
674 |
pos="1,5!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
675 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
676 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
677 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
678 |
4 -> 5 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
679 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
680 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
681 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
682 |
|
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
683 |
If we update to the *default* head, we will leave the topic behind, |
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
684 |
and since it is commit-less, it will vanish. |
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
685 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
686 |
$ hg update default |
2984
30f6030dca8f
topics: signal to the end user when a topic has been forgotten
Aurélien Campéas
parents:
2979
diff
changeset
|
687 |
clearing empty topic "food" |
2013
2e8e4619a240
tutorial: add a first version of the tutorial with the basics
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
688 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
689 |
|
2984
30f6030dca8f
topics: signal to the end user when a topic has been forgotten
Aurélien Campéas
parents:
2979
diff
changeset
|
690 |
From there, the topic has been completely forgotten. |
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
691 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
692 |
$ hg topics |
2967
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
693 |
|
c62b3776fec3
topics/tuto: highlight the behaviour on publish + update
Aurélien Campéas
parents:
2966
diff
changeset
|
694 |
|
2968
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
695 |
Keep working within topics |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
696 |
========================== |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
697 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
698 |
Making sure all your new local commit are made within a topic will help your |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
699 |
organise your work. It is possible to ensure this through the Mercurial |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
700 |
configuration. |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
701 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
702 |
For this tutorial, we'll add the config at the repository level: |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
703 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
704 |
$ cat << EOF >> .hg/hgrc |
2972
33efe3a1be37
test: fix the enforce-topic configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2971
diff
changeset
|
705 |
> [experimental] |
3021
5f4c42d4f2e8
test: update tests to use topic-mode enforce
Boris Feld <boris.feld@octobus.net>
parents:
3016
diff
changeset
|
706 |
> topic-mode = enforce |
2968
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
707 |
> EOF |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
708 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
709 |
You can also use `hg config --edit` to update your mercurial configuration. |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
710 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
711 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
712 |
Once enforcement is turned on. New local commit will be denied if no topic is active. |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
713 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
714 |
$ echo sickle >> shopping |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
715 |
$ hg commit -m 'Adding sickle' |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
716 |
abort: no active topic |
3027
b220e2f5ebd5
topic: update the topic-mode hint
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3021
diff
changeset
|
717 |
(see 'hg help -e topic.topic-mode' for details) |
2968
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
718 |
[255] |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
719 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
720 |
Ok, let's clean this up and delve into multiple topics. |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
721 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
722 |
$ hg revert . |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
723 |
reverting shopping |
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
724 |
|
946b1baa8c38
topics/tuto: activate the `enforce-topic` option
Aurélien Campéas
parents:
2967
diff
changeset
|
725 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
726 |
Working with Multiple Topics |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
727 |
============================ |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
728 |
|
2885 | 729 |
In the above example, topics do not bring much benefits since you only have one |
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
730 |
line of development. Topics start to be more useful when you have to work on |
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
731 |
multiple features at the same time. |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
732 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
733 |
We might go shopping in a hardware store in the same go, so let's add some |
2825 | 734 |
tools to the shopping list within a new topic: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
735 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
736 |
$ hg topics tools |
2985
f63c97c01f92
topics/ui: signal when the topics command creates a new (empty) topic
Aurélien Campéas
parents:
2984
diff
changeset
|
737 |
marked working directory as topic: tools |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
738 |
$ echo hammer >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
739 |
$ hg commit -m 'Adding hammer' |
2988
62201935e1a7
topics/ui: detect and signal when an empty changeset becomes non-empty
Aurélien Campéas
parents:
2986
diff
changeset
|
740 |
active topic 'tools' grew its first changeset |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
741 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
742 |
$ echo saw >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
743 |
$ hg commit -m 'Adding saw' |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
744 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
745 |
$ echo drill >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
746 |
$ hg commit -m 'Adding drill' |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
747 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
748 |
But we are not sure we will actually go to the hardware store, so in the |
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
749 |
meantime, we want to extend the list with drinks. We go back to the official |
2825 | 750 |
default branch and start a new topic: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
751 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
752 |
$ hg update default |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
753 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
754 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
755 |
$ hg topics drinks |
2985
f63c97c01f92
topics/ui: signal when the topics command creates a new (empty) topic
Aurélien Campéas
parents:
2984
diff
changeset
|
756 |
marked working directory as topic: drinks |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
757 |
$ echo 'apple juice' >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
758 |
$ hg commit -m 'Adding apple juice' |
2988
62201935e1a7
topics/ui: detect and signal when an empty changeset becomes non-empty
Aurélien Campéas
parents:
2986
diff
changeset
|
759 |
active topic 'drinks' grew its first changeset |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
760 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
761 |
$ echo 'orange juice' >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
762 |
$ hg commit -m 'Adding orange juice' |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
763 |
|
2825 | 764 |
We now have two topics: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
765 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
766 |
$ hg topics |
3060
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
767 |
* drinks (2 changesets) |
f43a310c4338
topics: show changesetcount, troubledcount and headscount by default
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3027
diff
changeset
|
768 |
tools (3 changesets) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
769 |
|
2825 | 770 |
The information displayed by ``hg stack`` adapts to the active topic: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
771 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
772 |
$ hg stack |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
773 |
### topic: drinks |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
774 |
### target: default (branch) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
775 |
t2@ Adding orange juice (current) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
776 |
t1: Adding apple juice |
2712
f19b314d8475
topics: add t0 and b0 to the stack
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2679
diff
changeset
|
777 |
t0^ adding fruits (base) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
778 |
|
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
779 |
$ hg update tools |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
780 |
switching to topic tools |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
781 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
782 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
783 |
$ hg stack |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
784 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
785 |
### target: default (branch) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
786 |
t3@ Adding drill (current) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
787 |
t2: Adding saw |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
788 |
t1: Adding hammer |
2712
f19b314d8475
topics: add t0 and b0 to the stack
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2679
diff
changeset
|
789 |
t0^ adding fruits (base) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
790 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
791 |
They are seen as independent branches by Mercurial. No rebase or merge |
2825 | 792 |
between them will be attempted by default: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
793 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
794 |
$ hg rebase |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
795 |
nothing to rebase |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
796 |
[1] |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
797 |
|
2970
19e20e86a514
topics/tuto: slightly more verbose explanation of what we are seeing
Aurélien Campéas
parents:
2969
diff
changeset
|
798 |
We simulate independant contributions to the repo with this |
19e20e86a514
topics/tuto: slightly more verbose explanation of what we are seeing
Aurélien Campéas
parents:
2969
diff
changeset
|
799 |
activity: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
800 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
801 |
$ cd ../server |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
802 |
$ hg update |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
803 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
804 |
$ mv shopping foo |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
805 |
$ echo 'Coat' > shopping |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
806 |
$ cat foo >> shopping |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
807 |
$ hg commit -m 'add a coat' |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
808 |
$ echo 'Coat' > shopping |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
809 |
$ echo 'Shoes' >> shopping |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
810 |
$ cat foo >> shopping |
2720
db3830646e34
tutorial: use rm instead of 'hg rm' for an untracked temporary file
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2679
diff
changeset
|
811 |
$ rm foo |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
812 |
$ hg commit -m 'add a pair of shoes' |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
813 |
$ cd ../client |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
814 |
|
2970
19e20e86a514
topics/tuto: slightly more verbose explanation of what we are seeing
Aurélien Campéas
parents:
2969
diff
changeset
|
815 |
Let's discover what other people did contribute: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
816 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
817 |
$ hg pull |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
818 |
pulling from $TESTTMP/server (glob) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
819 |
searching for changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
820 |
adding changesets |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
821 |
adding manifests |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
822 |
adding file changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
823 |
added 2 changesets with 2 changes to 1 files (+1 heads) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
824 |
(run 'hg heads' to see heads) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
825 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
826 |
There are new changes! We can simply use ``hg rebase`` to update our |
2825 | 827 |
changeset on top of the latest: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
828 |
|
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
829 |
$ hg log -G |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
830 |
o changeset: 12:fbff9bc37a43 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
831 |
| tag: tip |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
832 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
833 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
834 |
| summary: add a pair of shoes |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
835 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
836 |
o changeset: 11:f2d6cacc6115 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
837 |
| parent: 5:2d50db8b5b4c |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
838 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
839 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
840 |
| summary: add a coat |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
841 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
842 |
| o changeset: 10:70dfa201ed73 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
843 |
| | topic: drinks |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
844 |
| | user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
845 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
846 |
| | summary: Adding orange juice |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
847 |
| | |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
848 |
| o changeset: 9:8dfa45bd5e0c |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
849 |
|/ topic: drinks |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
850 |
| parent: 5:2d50db8b5b4c |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
851 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
852 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
853 |
| summary: Adding apple juice |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
854 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
855 |
| @ changeset: 8:34255b455dac |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
856 |
| | topic: tools |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
857 |
| | user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
858 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
859 |
| | summary: Adding drill |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
860 |
| | |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
861 |
| o changeset: 7:cffff85af537 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
862 |
| | topic: tools |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
863 |
| | user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
864 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
865 |
| | summary: Adding saw |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
866 |
| | |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
867 |
| o changeset: 6:183984ef46d1 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
868 |
|/ topic: tools |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
869 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
870 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
871 |
| summary: Adding hammer |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
872 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
873 |
o changeset: 5:2d50db8b5b4c |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
874 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
875 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
876 |
| summary: adding fruits |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
877 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
878 |
o changeset: 4:4011b46eeb33 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
879 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
880 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
881 |
| summary: adding condiments |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
882 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
883 |
o changeset: 3:6104862e8b84 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
884 |
| parent: 0:38da43f0a2ea |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
885 |
| user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
886 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
887 |
| summary: Adding clothes |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
888 |
| |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
889 |
o changeset: 0:38da43f0a2ea |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
890 |
user: test |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
891 |
date: Thu Jan 01 00:00:00 1970 +0000 |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
892 |
summary: Shopping list |
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
893 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
894 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
895 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
896 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
897 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
898 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
899 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
900 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
901 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
902 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
903 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
904 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
905 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
906 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
907 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
908 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
909 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
910 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
911 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
912 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
913 |
3 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
914 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
915 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
916 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
917 |
label=3, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
918 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
919 |
pos="1,3!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
920 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
921 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
922 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
923 |
0 -> 3 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
924 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
925 |
4 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
926 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
927 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
928 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
929 |
label=4, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
930 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
931 |
pos="1,4!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
932 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
933 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
934 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
935 |
3 -> 4 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
936 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
937 |
5 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
938 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
939 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
940 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
941 |
label=5, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
942 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
943 |
pos="1,5!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
944 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
945 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
946 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
947 |
4 -> 5 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
948 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
949 |
6 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
950 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
951 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
952 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
953 |
label=6, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
954 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
955 |
pos="1,6!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
956 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
957 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
958 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
959 |
5 -> 6 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
960 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
961 |
9 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
962 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
963 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
964 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
965 |
label=9, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
966 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
967 |
pos="1,9!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
968 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
969 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
970 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
971 |
5 -> 9 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
972 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
973 |
11 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
974 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
975 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
976 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
977 |
label=11, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
978 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
979 |
pos="1,11!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
980 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
981 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
982 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
983 |
5 -> 11 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
984 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
985 |
7 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
986 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
987 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
988 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
989 |
label=7, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
990 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
991 |
pos="1,7!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
992 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
993 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
994 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
995 |
6 -> 7 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
996 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
997 |
8 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
998 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
999 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1000 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1001 |
label=8, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1002 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1003 |
pos="1,8!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1004 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1005 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1006 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1007 |
7 -> 8 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1008 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1009 |
10 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1010 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1011 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1012 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1013 |
label=10, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1014 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1015 |
pos="1,10!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1016 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1017 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1018 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1019 |
9 -> 10 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1020 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1021 |
12 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1022 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1023 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1024 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1025 |
label=12, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1026 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1027 |
pos="1,12!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1028 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1029 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1030 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1031 |
11 -> 12 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1032 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1033 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1034 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1035 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1036 |
$ hg rebase |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1037 |
rebasing 6:183984ef46d1 "Adding hammer" |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1038 |
merging shopping |
2679
5156a67f66a6
topics: update current topic to the topic of newly rebased commit (issue5551)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2120
diff
changeset
|
1039 |
switching to topic tools |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1040 |
rebasing 7:cffff85af537 "Adding saw" |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1041 |
merging shopping |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1042 |
rebasing 8:34255b455dac "Adding drill" |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1043 |
merging shopping |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1044 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
1045 |
But what about the other topic? You can use 'hg topics --verbose' to see |
2825 | 1046 |
information about all the topics: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1047 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
1048 |
$ hg topics --verbose |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1049 |
drinks (on branch: default, 2 changesets, 2 behind) |
2679
5156a67f66a6
topics: update current topic to the topic of newly rebased commit (issue5551)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2120
diff
changeset
|
1050 |
* tools (on branch: default, 3 changesets) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1051 |
|
2886
00518926094f
topic: reword and simplify explanation of "behind"
Aurélien Campéas
parents:
2885
diff
changeset
|
1052 |
The "2 behind" is telling you that there are 2 new changesets over the base of the topic. |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1053 |
|
2825 | 1054 |
Pushing that topic would create a new head, and therefore will be prevented: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1055 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1056 |
$ hg push --rev drinks |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
1057 |
pushing to $TESTTMP/server (glob) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1058 |
searching for changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1059 |
abort: push creates new remote head 70dfa201ed73! |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1060 |
(merge or see 'hg help push' for details about pushing new heads) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1061 |
[255] |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1062 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1063 |
|
2971
222ad649380b
topics/tuto: clarification on the scope of the tutorial
Aurélien Campéas
parents:
2970
diff
changeset
|
1064 |
Even after a rebase, pushing all active topics at the same time would publish |
222ad649380b
topics/tuto: clarification on the scope of the tutorial
Aurélien Campéas
parents:
2970
diff
changeset
|
1065 |
them to the default branch, and then mercurial would complain about the |
222ad649380b
topics/tuto: clarification on the scope of the tutorial
Aurélien Campéas
parents:
2970
diff
changeset
|
1066 |
multiple *public* heads it would create on that branch: |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1067 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1068 |
$ hg rebase -b drinks |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1069 |
rebasing 9:8dfa45bd5e0c "Adding apple juice" |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1070 |
merging shopping |
2679
5156a67f66a6
topics: update current topic to the topic of newly rebased commit (issue5551)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2120
diff
changeset
|
1071 |
switching to topic drinks |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1072 |
rebasing 10:70dfa201ed73 "Adding orange juice" |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1073 |
merging shopping |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1074 |
switching to topic tools |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
1075 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1076 |
$ hg push |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
1077 |
pushing to $TESTTMP/server (glob) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1078 |
searching for changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1079 |
abort: push creates new remote head 4cd7c1591a67! |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1080 |
(merge or see 'hg help push' for details about pushing new heads) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1081 |
[255] |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1082 |
|
2721
c3a29c7abbee
tutorial: word wrap long lines
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2720
diff
changeset
|
1083 |
Publishing only one of them is allowed (as long as it does not create a new |
2825 | 1084 |
branch head as we just saw in the previous case): |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1085 |
|
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1086 |
$ hg push -r drinks |
2120
e38156312410
tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
2045
diff
changeset
|
1087 |
pushing to $TESTTMP/server (glob) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1088 |
searching for changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1089 |
adding changesets |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1090 |
adding manifests |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1091 |
adding file changes |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1092 |
added 2 changesets with 2 changes to 1 files |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1093 |
2 new obsolescence markers |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1094 |
|
2722
44a6e6fbf80b
tutorial: fix grammar and spelling
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents:
2721
diff
changeset
|
1095 |
The published topic has now disappeared, and the other is now marked as |
2825 | 1096 |
"behind": |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1097 |
|
2969
3d39b8867b29
topics/tuto: spell out `hg topics` entirely
Aurélien Campéas
parents:
2968
diff
changeset
|
1098 |
$ hg topics --verbose |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1099 |
* tools (on branch: default, 3 changesets, 2 behind) |
2827
498409c72dd2
doc: various improvements on topic tutorial
Boris Feld <boris.feld@octobus.net>
parents:
2826
diff
changeset
|
1100 |
|
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1101 |
$ hg stack |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1102 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1103 |
### target: default (branch), 2 behind |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1104 |
t3@ Adding drill (current) |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1105 |
t2: Adding saw |
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1106 |
t1: Adding hammer |
2712
f19b314d8475
topics: add t0 and b0 to the stack
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2679
diff
changeset
|
1107 |
t0^ add a pair of shoes (base) |
2014
cd6d32a0155c
tutorial: add a second part about having multiple topic
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2013
diff
changeset
|
1108 |
|
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1109 |
Working Within Your Stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1110 |
=========================== |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1111 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1112 |
Navigating within your stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1113 |
---------------------------- |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1114 |
|
2885 | 1115 |
As we saw before `stack` displays changesets on your current topic in a clean way: |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1116 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1117 |
$ hg topics --verbose |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1118 |
* tools (on branch: default, 3 changesets, 2 behind) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1119 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1120 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1121 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1122 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1123 |
t3@ Adding drill (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1124 |
t2: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1125 |
t1: Adding hammer |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1126 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1127 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1128 |
You can navigate in your current stack with `previous` and `next`. |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1129 |
|
2973
0192d6bc25fa
topics/tuto: try to be more clear when explaining previous/next
Aurélien Campéas
parents:
2972
diff
changeset
|
1130 |
`previous` will bring you back to the parent of the topic head. |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1131 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1132 |
$ hg previous |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1133 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1134 |
[14] Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1135 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1136 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1137 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1138 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1139 |
t3: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1140 |
t2@ Adding saw (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1141 |
t1: Adding hammer |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1142 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1143 |
|
2973
0192d6bc25fa
topics/tuto: try to be more clear when explaining previous/next
Aurélien Campéas
parents:
2972
diff
changeset
|
1144 |
`next` will move you forward to the topic head. |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1145 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1146 |
$ hg next |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1147 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1148 |
[15] Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1149 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1150 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1151 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1152 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1153 |
t3@ Adding drill (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1154 |
t2: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1155 |
t1: Adding hammer |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1156 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1157 |
|
2974
af37cdaa84ee
topics/tuto: attempt to have a slightly more clear wording
Aurélien Campéas
parents:
2973
diff
changeset
|
1158 |
You can also directly jump to a changeset within your stack with the revset `t#`. |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1159 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1160 |
$ hg update t1 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1161 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1162 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1163 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1164 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1165 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1166 |
t3: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1167 |
t2: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1168 |
t1@ Adding hammer (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1169 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1170 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1171 |
Editing your work mid-stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1172 |
--------------------------- |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1173 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1174 |
It's easy to edit your work inside your stack: |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1175 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1176 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1177 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1178 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1179 |
t3: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1180 |
t2: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1181 |
t1@ Adding hammer (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1182 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1183 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1184 |
$ hg amend -m "Adding hammer to the shopping list" |
3106
a867d59ea97a
test-compat: revert output changes from phase renaming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3102
diff
changeset
|
1185 |
2 new unstable changesets |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1186 |
|
2975
7964b9138549
topics/tuto: try to be more precise on why `hg log` output is hairy
Aurélien Campéas
parents:
2974
diff
changeset
|
1187 |
Understanding the current situation with hg log is not so easy, because |
7964b9138549
topics/tuto: try to be more precise on why `hg log` output is hairy
Aurélien Campéas
parents:
2974
diff
changeset
|
1188 |
it shows too many things: |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1189 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1190 |
$ hg log -G -r "t0::" |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1191 |
@ changeset: 18:b7509bd417f8 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1192 |
| tag: tip |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1193 |
| topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1194 |
| parent: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1195 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1196 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1197 |
| summary: Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1198 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1199 |
| o changeset: 17:4cd7c1591a67 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1200 |
| | user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1201 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1202 |
| | summary: Adding orange juice |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1203 |
| | |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1204 |
| o changeset: 16:20759cb47ff8 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1205 |
|/ parent: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1206 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1207 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1208 |
| summary: Adding apple juice |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1209 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1210 |
| o changeset: 15:bb1e6254f532 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1211 |
| | topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1212 |
| | user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1213 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
3106
a867d59ea97a
test-compat: revert output changes from phase renaming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3102
diff
changeset
|
1214 |
| | trouble: unstable |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1215 |
| | summary: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1216 |
| | |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1217 |
| o changeset: 14:d4f97f32f8a1 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1218 |
| | topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1219 |
| | user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1220 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
3106
a867d59ea97a
test-compat: revert output changes from phase renaming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3102
diff
changeset
|
1221 |
| | trouble: unstable |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1222 |
| | summary: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1223 |
| | |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1224 |
| x changeset: 13:a8ab3599d53d |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1225 |
|/ topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1226 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1227 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1228 |
| summary: Adding hammer |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1229 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1230 |
o changeset: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1231 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1232 |
~ date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1233 |
summary: add a pair of shoes |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1234 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1235 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1236 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1237 |
$ hg docgraph -r "t0::" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1238 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1239 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1240 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1241 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1242 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1243 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1244 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1245 |
12 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1246 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1247 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1248 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1249 |
label=12, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1250 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1251 |
pos="1,12!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1252 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1253 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1254 |
width=0.5]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1255 |
13 [fillcolor="#DFDFFF", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1256 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1257 |
group=default_alt, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1258 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1259 |
label=13, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1260 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1261 |
pos="2,13!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1262 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1263 |
style="dotted, filled", |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1264 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1265 |
12 -> 13 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1266 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1267 |
18 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1268 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1269 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1270 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1271 |
label=18, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1272 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1273 |
pos="1,18!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1274 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1275 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1276 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1277 |
12 -> 18 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1278 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1279 |
16 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1280 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1281 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1282 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1283 |
label=16, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1284 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1285 |
pos="1,16!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1286 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1287 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1288 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1289 |
12 -> 16 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1290 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1291 |
13 -> 18 [arrowhead=none, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1292 |
minlen=0, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1293 |
penwidth=2.0, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1294 |
style=dashed]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1295 |
14 [fillcolor="#FF4F4F", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1296 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1297 |
group=default_alt, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1298 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1299 |
label=14, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1300 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1301 |
pos="2,14!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1302 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1303 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1304 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1305 |
13 -> 14 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1306 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1307 |
15 [fillcolor="#FF4F4F", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1308 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1309 |
group=default_alt, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1310 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1311 |
label=15, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1312 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1313 |
pos="2,15!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1314 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1315 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1316 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1317 |
14 -> 15 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1318 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1319 |
17 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1320 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1321 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1322 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1323 |
label=17, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1324 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1325 |
pos="1,17!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1326 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1327 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1328 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1329 |
16 -> 17 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1330 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1331 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1332 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1333 |
|
2885 | 1334 |
Fortunately stack shows you a better visualization: |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1335 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1336 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1337 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1338 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1339 |
t3$ Adding drill (unstable) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1340 |
t2$ Adding saw (unstable) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1341 |
t1@ Adding hammer to the shopping list (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1342 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1343 |
|
2976
e5edfb5aba0c
topics/tuto: be more complete over the de-orphaning action within a topic
Aurélien Campéas
parents:
2975
diff
changeset
|
1344 |
It's easy to stabilize the situation, `next` has an `--evolve` option. It will |
e5edfb5aba0c
topics/tuto: be more complete over the de-orphaning action within a topic
Aurélien Campéas
parents:
2975
diff
changeset
|
1345 |
do the necessary relocation of `t2` and `t3` over the new `t1` without having |
e5edfb5aba0c
topics/tuto: be more complete over the de-orphaning action within a topic
Aurélien Campéas
parents:
2975
diff
changeset
|
1346 |
to do that rebase by hand.: |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1347 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1348 |
$ hg next --evolve |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1349 |
move:[14] Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1350 |
atop:[18] Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1351 |
working directory now at d5c51ee5762a |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1352 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1353 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1354 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1355 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1356 |
t3$ Adding drill (unstable) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1357 |
t2@ Adding saw (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1358 |
t1: Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1359 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1360 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1361 |
One more to go: |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1362 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1363 |
$ hg next --evolve |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1364 |
move:[15] Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1365 |
atop:[19] Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1366 |
working directory now at bae3758e46bf |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1367 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1368 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1369 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1370 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1371 |
t3@ Adding drill (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1372 |
t2: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1373 |
t1: Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1374 |
t0^ add a pair of shoes (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1375 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1376 |
Let's take a look at `hg log` once again: |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1377 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1378 |
$ hg log -G -r "t0::" |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1379 |
@ changeset: 20:bae3758e46bf |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1380 |
| tag: tip |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1381 |
| topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1382 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1383 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1384 |
| summary: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1385 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1386 |
o changeset: 19:d5c51ee5762a |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1387 |
| topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1388 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1389 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1390 |
| summary: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1391 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1392 |
o changeset: 18:b7509bd417f8 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1393 |
| topic: tools |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1394 |
| parent: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1395 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1396 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1397 |
| summary: Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1398 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1399 |
| o changeset: 17:4cd7c1591a67 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1400 |
| | user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1401 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1402 |
| | summary: Adding orange juice |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1403 |
| | |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1404 |
| o changeset: 16:20759cb47ff8 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1405 |
|/ parent: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1406 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1407 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1408 |
| summary: Adding apple juice |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1409 |
| |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1410 |
o changeset: 12:fbff9bc37a43 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1411 |
| user: test |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1412 |
~ date: Thu Jan 01 00:00:00 1970 +0000 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1413 |
summary: add a pair of shoes |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1414 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1415 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1416 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1417 |
$ hg docgraph -r "t0::" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1418 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1419 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1420 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1421 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1422 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1423 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1424 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1425 |
12 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1426 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1427 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1428 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1429 |
label=12, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1430 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1431 |
pos="1,12!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1432 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1433 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1434 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1435 |
16 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1436 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1437 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1438 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1439 |
label=16, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1440 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1441 |
pos="1,16!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1442 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1443 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1444 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1445 |
12 -> 16 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1446 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1447 |
18 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1448 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1449 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1450 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1451 |
label=18, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1452 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1453 |
pos="1,18!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1454 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1455 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1456 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1457 |
12 -> 18 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1458 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1459 |
17 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1460 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1461 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1462 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1463 |
label=17, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1464 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1465 |
pos="1,17!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1466 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1467 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1468 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1469 |
16 -> 17 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1470 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1471 |
19 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1472 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1473 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1474 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1475 |
label=19, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1476 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1477 |
pos="1,19!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1478 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1479 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1480 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1481 |
18 -> 19 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1482 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1483 |
20 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1484 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1485 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1486 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1487 |
label=20, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1488 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1489 |
pos="1,20!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1490 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1491 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1492 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1493 |
19 -> 20 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1494 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1495 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1496 |
#endif |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1497 |
Multi-headed stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1498 |
------------------ |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1499 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1500 |
Stack is also very helpful when you have a multi-headed stack: |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1501 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1502 |
$ hg up t1 |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1503 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1504 |
|
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1505 |
$ echo "nails" > new_shopping |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1506 |
$ cat shopping >> new_shopping |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1507 |
$ mv new_shopping shopping |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1508 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1509 |
$ hg commit -m 'Adding nails' |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1510 |
|
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1511 |
$ hg stack |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1512 |
### topic: tools (2 heads) |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1513 |
### target: default (branch), 2 behind |
2829
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1514 |
t4: Adding drill |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1515 |
t3: Adding saw |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1516 |
t1^ Adding hammer to the shopping list (base) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1517 |
t2@ Adding nails (current) |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1518 |
t1: Adding hammer to the shopping list |
1c529afd3fef
doc: add stack part in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2827
diff
changeset
|
1519 |
t0^ add a pair of shoes (base) |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1520 |
|
2885 | 1521 |
Solving this situation is easy with a topic: use merge or rebase. |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1522 |
Merge within a multi-headed stack will use the other topic head as |
2978
9280e78dbcba
topics/tuto: prefer rebase over merge and remove the weird merge attempt
Aurélien Campéas
parents:
2977
diff
changeset
|
1523 |
destination if the topic has two heads. But rebasing will yield a |
9280e78dbcba
topics/tuto: prefer rebase over merge and remove the weird merge attempt
Aurélien Campéas
parents:
2977
diff
changeset
|
1524 |
completely linear history so it's what we will do. |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1525 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1526 |
$ hg log -G |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1527 |
@ changeset: 21:f936c6da9d61 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1528 |
| tag: tip |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1529 |
| topic: tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1530 |
| parent: 18:b7509bd417f8 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1531 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1532 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1533 |
| summary: Adding nails |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1534 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1535 |
| o changeset: 20:bae3758e46bf |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1536 |
| | topic: tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1537 |
| | user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1538 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1539 |
| | summary: Adding drill |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1540 |
| | |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1541 |
| o changeset: 19:d5c51ee5762a |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1542 |
|/ topic: tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1543 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1544 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1545 |
| summary: Adding saw |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1546 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1547 |
o changeset: 18:b7509bd417f8 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1548 |
| topic: tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1549 |
| parent: 12:fbff9bc37a43 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1550 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1551 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1552 |
| summary: Adding hammer to the shopping list |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1553 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1554 |
| o changeset: 17:4cd7c1591a67 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1555 |
| | user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1556 |
| | date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1557 |
| | summary: Adding orange juice |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1558 |
| | |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1559 |
| o changeset: 16:20759cb47ff8 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1560 |
|/ parent: 12:fbff9bc37a43 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1561 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1562 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1563 |
| summary: Adding apple juice |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1564 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1565 |
o changeset: 12:fbff9bc37a43 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1566 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1567 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1568 |
| summary: add a pair of shoes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1569 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1570 |
o changeset: 11:f2d6cacc6115 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1571 |
| parent: 5:2d50db8b5b4c |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1572 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1573 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1574 |
| summary: add a coat |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1575 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1576 |
o changeset: 5:2d50db8b5b4c |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1577 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1578 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1579 |
| summary: adding fruits |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1580 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1581 |
o changeset: 4:4011b46eeb33 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1582 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1583 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1584 |
| summary: adding condiments |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1585 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1586 |
o changeset: 3:6104862e8b84 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1587 |
| parent: 0:38da43f0a2ea |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1588 |
| user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1589 |
| date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1590 |
| summary: Adding clothes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1591 |
| |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1592 |
o changeset: 0:38da43f0a2ea |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1593 |
user: test |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1594 |
date: Thu Jan 01 00:00:00 1970 +0000 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1595 |
summary: Shopping list |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1596 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1597 |
|
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1598 |
#if docgraph-ext |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1599 |
$ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1600 |
.. graphviz:: |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1601 |
|
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1602 |
strict digraph { |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1603 |
graph [rankdir=LR, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1604 |
splines=polyline |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1605 |
]; |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1606 |
node [label="\N"]; |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1607 |
0 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1608 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1609 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1610 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1611 |
label=0, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1612 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1613 |
pos="1,0!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1614 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1615 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1616 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1617 |
3 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1618 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1619 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1620 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1621 |
label=3, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1622 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1623 |
pos="1,3!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1624 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1625 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1626 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1627 |
0 -> 3 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1628 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1629 |
4 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1630 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1631 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1632 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1633 |
label=4, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1634 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1635 |
pos="1,4!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1636 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1637 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1638 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1639 |
3 -> 4 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1640 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1641 |
5 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1642 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1643 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1644 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1645 |
label=5, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1646 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1647 |
pos="1,5!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1648 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1649 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1650 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1651 |
4 -> 5 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1652 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1653 |
11 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1654 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1655 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1656 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1657 |
label=11, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1658 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1659 |
pos="1,11!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1660 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1661 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1662 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1663 |
5 -> 11 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1664 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1665 |
12 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1666 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1667 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1668 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1669 |
label=12, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1670 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1671 |
pos="1,12!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1672 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1673 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1674 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1675 |
11 -> 12 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1676 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1677 |
16 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1678 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1679 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1680 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1681 |
label=16, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1682 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1683 |
pos="1,16!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1684 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1685 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1686 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1687 |
12 -> 16 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1688 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1689 |
18 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1690 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1691 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1692 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1693 |
label=18, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1694 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1695 |
pos="1,18!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1696 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1697 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1698 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1699 |
12 -> 18 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1700 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1701 |
17 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1702 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1703 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1704 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1705 |
label=17, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1706 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1707 |
pos="1,17!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1708 |
shape=circle, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1709 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1710 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1711 |
16 -> 17 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1712 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1713 |
19 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1714 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1715 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1716 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1717 |
label=19, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1718 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1719 |
pos="1,19!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1720 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1721 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1722 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1723 |
18 -> 19 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1724 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1725 |
21 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1726 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1727 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1728 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1729 |
label=21, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1730 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1731 |
pos="1,21!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1732 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1733 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1734 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1735 |
18 -> 21 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1736 |
penwidth=2.0]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1737 |
20 [fillcolor="#9999FF", |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1738 |
fixedsize=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1739 |
group=default, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1740 |
height=0.5, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1741 |
label=20, |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1742 |
pin=true, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1743 |
pos="1,20!", |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1744 |
shape=pentagon, |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1745 |
style=filled, |
2965
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1746 |
width=0.5]; |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1747 |
19 -> 20 [arrowhead=none, |
e036aab3d0cb
doc: update graph with latest version of doc-graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2959
diff
changeset
|
1748 |
penwidth=2.0]; |
2959
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1749 |
} |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1750 |
#endif |
ef361938dfa1
doc: integrate graphviz graphs in tutorials
Boris Feld <boris.feld@octobus.net>
parents:
2951
diff
changeset
|
1751 |
|
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1752 |
$ hg up t4 |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1753 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1754 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1755 |
$ hg rebase |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1756 |
rebasing 19:d5c51ee5762a "Adding saw" |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1757 |
merging shopping |
3102
6604d96fc73c
test-compat: revert output change in rebase
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3100
diff
changeset
|
1758 |
rebasing 20:bae3758e46bf "Adding drill" |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1759 |
merging shopping |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1760 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1761 |
$ hg stack |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1762 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1763 |
### target: default (branch), 2 behind |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1764 |
t4@ Adding drill (current) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1765 |
t3: Adding saw |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1766 |
t2: Adding nails |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1767 |
t1: Adding hammer to the shopping list |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1768 |
t0^ add a pair of shoes (base) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1769 |
|
2885 | 1770 |
Collaborating through a non-publishing server |
2966
d1d47e025dd3
topics/tuto: fix title underline type introduced earlier
Aurélien Campéas
parents:
2965
diff
changeset
|
1771 |
============================================= |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1772 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1773 |
.. setup: |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1774 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1775 |
.. Let's create a non-publishing server: |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1776 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1777 |
$ cd .. |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1778 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1779 |
$ hg clone server non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1780 |
updating to branch default |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1781 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1782 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1783 |
$ cd non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1784 |
$ cat >> .hg/hgrc << EOF |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1785 |
> [phases] |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1786 |
> publish = false |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1787 |
> EOF |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1788 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1789 |
.. And another client: |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1790 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1791 |
$ cd .. |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1792 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1793 |
$ hg clone server other-client |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1794 |
updating to branch default |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1795 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1796 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1797 |
$ cd client |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1798 |
|
2885 | 1799 |
We can now share these draft changesets: |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1800 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1801 |
$ hg push ../non-publishing-server -r tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1802 |
pushing to ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1803 |
searching for changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1804 |
adding changesets |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1805 |
adding manifests |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1806 |
adding file changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1807 |
added 4 changesets with 4 changes to 1 files (+1 heads) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1808 |
8 new obsolescence markers |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1809 |
|
2885 | 1810 |
Pushing the new topic branch to a non publishing server did not require |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1811 |
--force. As long as new heads are on their own topic, Mercurial will not |
2885 | 1812 |
complain about them. |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1813 |
|
2885 | 1814 |
From another client, we will get them with their topic: |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1815 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1816 |
$ cd ../other-client |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1817 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1818 |
$ hg pull ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1819 |
pulling from ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1820 |
searching for changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1821 |
adding changesets |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1822 |
adding manifests |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1823 |
adding file changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1824 |
added 4 changesets with 4 changes to 1 files (+1 heads) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1825 |
8 new obsolescence markers |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1826 |
(run 'hg heads' to see heads) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1827 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1828 |
$ hg topics --verbose |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1829 |
tools (on branch: default, 4 changesets, 2 behind) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1830 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1831 |
$ hg up tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1832 |
switching to topic tools |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1833 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1834 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1835 |
$ hg stack |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1836 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1837 |
### target: default (branch), 2 behind |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1838 |
t4@ Adding drill (current) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1839 |
t3: Adding saw |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1840 |
t2: Adding nails |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1841 |
t1: Adding hammer to the shopping list |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1842 |
t0^ add a pair of shoes (base) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1843 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1844 |
We can also add new changesets and share them: |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1845 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1846 |
$ echo screws >> shopping |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1847 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1848 |
$ hg commit -A -m "Adding screws" |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1849 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1850 |
$ hg push ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1851 |
pushing to ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1852 |
searching for changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1853 |
adding changesets |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1854 |
adding manifests |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1855 |
adding file changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1856 |
added 1 changesets with 1 changes to 1 files |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1857 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1858 |
And retrieve them on the first client: |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1859 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1860 |
$ cd ../client |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1861 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1862 |
$ hg pull ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1863 |
pulling from ../non-publishing-server |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1864 |
searching for changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1865 |
adding changesets |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1866 |
adding manifests |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1867 |
adding file changes |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1868 |
added 1 changesets with 1 changes to 1 files |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1869 |
(run 'hg update' to get a working copy) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1870 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1871 |
$ hg update |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1872 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1873 |
|
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1874 |
$ hg stack |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1875 |
### topic: tools |
2997
a61634f52742
topic: try to clarify the "branch" part in stack
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2988
diff
changeset
|
1876 |
### target: default (branch), 2 behind |
2830
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1877 |
t5@ Adding screws (current) |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1878 |
t4: Adding drill |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1879 |
t3: Adding saw |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1880 |
t2: Adding nails |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1881 |
t1: Adding hammer to the shopping list |
499b2dd69107
doc: add part about exchanging drafts in topic tutorial
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2829
diff
changeset
|
1882 |
t0^ add a pair of shoes (base) |