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