tests/test-topic-tutorial.t
changeset 2965 e036aab3d0cb
parent 2959 ef361938dfa1
child 2966 d1d47e025dd3
equal deleted inserted replaced
2964:9aec8fec2bf8 2965:e036aab3d0cb
    72       strict digraph  {
    72       strict digraph  {
    73       	graph [rankdir=LR,
    73       	graph [rankdir=LR,
    74       		splines=polyline
    74       		splines=polyline
    75       	];
    75       	];
    76       	node [label="\N"];
    76       	node [label="\N"];
    77       	0	 [fillcolor="#7F7FFF",
    77       	0	 [fillcolor="#9999FF",
    78       		fixedsize=true,
    78       		fixedsize=true,
    79       		group=default,
    79       		group=default,
    80       		height=2,
    80       		height=0.5,
    81       		label="0: 38da43f0a2ea",
    81       		label=0,
    82       		pin=true,
    82       		pin=true,
    83       		pos="1,0!",
    83       		pos="1,0!",
    84       		shape=circle,
    84       		shape=circle,
    85       		style=filled,
    85       		style=filled,
    86       		width=2];
    86       		width=0.5];
    87       }
    87       }
    88 #endif
    88 #endif
    89 
    89 
    90 We are about to make some additions to this list and would like to do them
    90 We are about to make some additions to this list and would like to do them
    91 within a topic. Creating a new topic is done using the ``topic`` command:
    91 within a topic. Creating a new topic is done using the ``topic`` command:
   121       strict digraph  {
   121       strict digraph  {
   122       	graph [rankdir=LR,
   122       	graph [rankdir=LR,
   123       		splines=polyline
   123       		splines=polyline
   124       	];
   124       	];
   125       	node [label="\N"];
   125       	node [label="\N"];
   126       	0	 [fillcolor="#7F7FFF",
   126       	0	 [fillcolor="#9999FF",
   127       		fixedsize=true,
   127       		fixedsize=true,
   128       		group=default,
   128       		group=default,
   129       		height=2,
   129       		height=0.5,
   130       		label="0: 38da43f0a2ea",
   130       		label=0,
   131       		pin=true,
   131       		pin=true,
   132       		pos="1,0!",
   132       		pos="1,0!",
   133       		shape=circle,
   133       		shape=circle,
   134       		style=filled,
   134       		style=filled,
   135       		width=2];
   135       		width=0.5];
   136       }
   136       }
   137 #endif
   137 #endif
   138 
   138 
   139 Our next commit will be part of the active topic:
   139 Our next commit will be part of the active topic:
   140 
   140 
   163       strict digraph  {
   163       strict digraph  {
   164       	graph [rankdir=LR,
   164       	graph [rankdir=LR,
   165       		splines=polyline
   165       		splines=polyline
   166       	];
   166       	];
   167       	node [label="\N"];
   167       	node [label="\N"];
   168       	1	 [fillcolor="#7F7FFF",
   168       	1	 [fillcolor="#9999FF",
   169       		fixedsize=true,
   169       		fixedsize=true,
   170       		group=default,
   170       		group=default,
   171       		height=2,
   171       		height=0.5,
   172       		label="1: 13900241408b",
   172       		label=1,
   173       		pin=true,
   173       		pin=true,
   174       		pos="1,1!",
   174       		pos="1,1!",
   175       		shape=pentagon,
   175       		shape=pentagon,
   176       		style=filled,
   176       		style=filled,
   177       		width=2];
   177       		width=0.5];
   178       }
   178       }
   179 #endif
   179 #endif
   180 
   180 
   181 And future commits will be part of that topic too:
   181 And future commits will be part of that topic too:
   182 
   182 
   210       strict digraph  {
   210       strict digraph  {
   211       	graph [rankdir=LR,
   211       	graph [rankdir=LR,
   212       		splines=polyline
   212       		splines=polyline
   213       	];
   213       	];
   214       	node [label="\N"];
   214       	node [label="\N"];
   215       	1	 [fillcolor="#7F7FFF",
   215       	1	 [fillcolor="#9999FF",
   216       		fixedsize=true,
   216       		fixedsize=true,
   217       		group=default,
   217       		group=default,
   218       		height=2,
   218       		height=0.5,
   219       		label="1: 13900241408b",
   219       		label=1,
   220       		pin=true,
   220       		pin=true,
   221       		pos="1,1!",
   221       		pos="1,1!",
   222       		shape=pentagon,
   222       		shape=pentagon,
   223       		style=filled,
   223       		style=filled,
   224       		width=2];
   224       		width=0.5];
   225       	2	 [fillcolor="#7F7FFF",
   225       	2	 [fillcolor="#9999FF",
   226       		fixedsize=true,
   226       		fixedsize=true,
   227       		group=default,
   227       		group=default,
   228       		height=2,
   228       		height=0.5,
   229       		label="2: 287de11b401f",
   229       		label=2,
   230       		pin=true,
   230       		pin=true,
   231       		pos="1,2!",
   231       		pos="1,2!",
   232       		shape=pentagon,
   232       		shape=pentagon,
   233       		style=filled,
   233       		style=filled,
   234       		width=2];
   234       		width=0.5];
   235       	1 -> 2;
   235       	1 -> 2	 [arrowhead=none,
       
   236       		penwidth=2.0];
   236       }
   237       }
   237 #endif
   238 #endif
   238 
   239 
   239 We can get a compact view of the content of our topic using the ``stack``
   240 We can get a compact view of the content of our topic using the ``stack``
   240 command:
   241 command:
   284       strict digraph  {
   285       strict digraph  {
   285       	graph [rankdir=LR,
   286       	graph [rankdir=LR,
   286       		splines=polyline
   287       		splines=polyline
   287       	];
   288       	];
   288       	node [label="\N"];
   289       	node [label="\N"];
   289       	0	 [fillcolor="#7F7FFF",
   290       	0	 [fillcolor="#9999FF",
   290       		fixedsize=true,
   291       		fixedsize=true,
   291       		group=default,
   292       		group=default,
   292       		height=2,
   293       		height=0.5,
   293       		label="0: 38da43f0a2ea",
   294       		label=0,
   294       		pin=true,
   295       		pin=true,
   295       		pos="1,0!",
   296       		pos="1,0!",
   296       		shape=circle,
   297       		shape=circle,
   297       		style=filled,
   298       		style=filled,
   298       		width=2];
   299       		width=0.5];
   299       	1	 [fillcolor="#7F7FFF",
   300       	1	 [fillcolor="#9999FF",
   300       		fixedsize=true,
   301       		fixedsize=true,
   301       		group=default,
   302       		group=default,
   302       		height=2,
   303       		height=0.5,
   303       		label="1: 13900241408b",
   304       		label=1,
   304       		pin=true,
   305       		pin=true,
   305       		pos="1,1!",
   306       		pos="1,1!",
   306       		shape=pentagon,
   307       		shape=pentagon,
   307       		style=filled,
   308       		style=filled,
   308       		width=2];
   309       		width=0.5];
   309       	0 -> 1;
   310       	0 -> 1	 [arrowhead=none,
   310       	2	 [fillcolor="#7F7FFF",
   311       		penwidth=2.0];
   311       		fixedsize=true,
   312       	2	 [fillcolor="#9999FF",
   312       		group=default,
   313       		fixedsize=true,
   313       		height=2,
   314       		group=default,
   314       		label="2: 287de11b401f",
   315       		height=0.5,
       
   316       		label=2,
   315       		pin=true,
   317       		pin=true,
   316       		pos="1,2!",
   318       		pos="1,2!",
   317       		shape=pentagon,
   319       		shape=pentagon,
   318       		style=filled,
   320       		style=filled,
   319       		width=2];
   321       		width=0.5];
   320       	1 -> 2;
   322       	1 -> 2	 [arrowhead=none,
       
   323       		penwidth=2.0];
   321       }
   324       }
   322 #endif
   325 #endif
   323 And updating back to the topic reactivates it:
   326 And updating back to the topic reactivates it:
   324 
   327 
   325   $ hg update food
   328   $ hg update food
   405       strict digraph  {
   408       strict digraph  {
   406       	graph [rankdir=LR,
   409       	graph [rankdir=LR,
   407       		splines=polyline
   410       		splines=polyline
   408       	];
   411       	];
   409       	node [label="\N"];
   412       	node [label="\N"];
   410       	0	 [fillcolor="#7F7FFF",
   413       	0	 [fillcolor="#9999FF",
   411       		fixedsize=true,
   414       		fixedsize=true,
   412       		group=default,
   415       		group=default,
   413       		height=2,
   416       		height=0.5,
   414       		label="0: 38da43f0a2ea",
   417       		label=0,
   415       		pin=true,
   418       		pin=true,
   416       		pos="1,0!",
   419       		pos="1,0!",
   417       		shape=circle,
   420       		shape=circle,
   418       		style=filled,
   421       		style=filled,
   419       		width=2];
   422       		width=0.5];
   420       	1	 [fillcolor="#7F7FFF",
   423       	1	 [fillcolor="#9999FF",
   421       		fixedsize=true,
   424       		fixedsize=true,
   422       		group=default,
   425       		group=default,
   423       		height=2,
   426       		height=0.5,
   424       		label="1: 13900241408b",
   427       		label=1,
   425       		pin=true,
   428       		pin=true,
   426       		pos="1,1!",
   429       		pos="1,1!",
   427       		shape=pentagon,
   430       		shape=pentagon,
   428       		style=filled,
   431       		style=filled,
   429       		width=2];
   432       		width=0.5];
   430       	0 -> 1;
   433       	0 -> 1	 [arrowhead=none,
   431       	3	 [fillcolor="#7F7FFF",
   434       		penwidth=2.0];
   432       		fixedsize=true,
   435       	3	 [fillcolor="#9999FF",
   433       		group=default,
   436       		fixedsize=true,
   434       		height=2,
   437       		group=default,
   435       		label="3: 6104862e8b84",
   438       		height=0.5,
       
   439       		label=3,
   436       		pin=true,
   440       		pin=true,
   437       		pos="1,3!",
   441       		pos="1,3!",
   438       		shape=circle,
   442       		shape=circle,
   439       		style=filled,
   443       		style=filled,
   440       		width=2];
   444       		width=0.5];
   441       	0 -> 3;
   445       	0 -> 3	 [arrowhead=none,
   442       	2	 [fillcolor="#7F7FFF",
   446       		penwidth=2.0];
   443       		fixedsize=true,
   447       	2	 [fillcolor="#9999FF",
   444       		group=default,
   448       		fixedsize=true,
   445       		height=2,
   449       		group=default,
   446       		label="2: 287de11b401f",
   450       		height=0.5,
       
   451       		label=2,
   447       		pin=true,
   452       		pin=true,
   448       		pos="1,2!",
   453       		pos="1,2!",
   449       		shape=pentagon,
   454       		shape=pentagon,
   450       		style=filled,
   455       		style=filled,
   451       		width=2];
   456       		width=0.5];
   452       	1 -> 2;
   457       	1 -> 2	 [arrowhead=none,
       
   458       		penwidth=2.0];
   453       }
   459       }
   454 #endif
   460 #endif
   455 
   461 
   456 The topic head will not be considered when merging from the new head of the
   462 The topic head will not be considered when merging from the new head of the
   457 branch:
   463 branch:
   509       strict digraph  {
   515       strict digraph  {
   510       	graph [rankdir=LR,
   516       	graph [rankdir=LR,
   511       		splines=polyline
   517       		splines=polyline
   512       	];
   518       	];
   513       	node [label="\N"];
   519       	node [label="\N"];
   514       	0	 [fillcolor="#7F7FFF",
   520       	0	 [fillcolor="#9999FF",
   515       		fixedsize=true,
   521       		fixedsize=true,
   516       		group=default,
   522       		group=default,
   517       		height=2,
   523       		height=0.5,
   518       		label="0: 38da43f0a2ea",
   524       		label=0,
   519       		pin=true,
   525       		pin=true,
   520       		pos="1,0!",
   526       		pos="1,0!",
   521       		shape=circle,
   527       		shape=circle,
   522       		style=filled,
   528       		style=filled,
   523       		width=2];
   529       		width=0.5];
   524       	3	 [fillcolor="#7F7FFF",
   530       	3	 [fillcolor="#9999FF",
   525       		fixedsize=true,
   531       		fixedsize=true,
   526       		group=default,
   532       		group=default,
   527       		height=2,
   533       		height=0.5,
   528       		label="3: 6104862e8b84",
   534       		label=3,
   529       		pin=true,
   535       		pin=true,
   530       		pos="1,3!",
   536       		pos="1,3!",
   531       		shape=circle,
   537       		shape=circle,
   532       		style=filled,
   538       		style=filled,
   533       		width=2];
   539       		width=0.5];
   534       	0 -> 3;
   540       	0 -> 3	 [arrowhead=none,
   535       	4	 [fillcolor="#7F7FFF",
   541       		penwidth=2.0];
   536       		fixedsize=true,
   542       	4	 [fillcolor="#9999FF",
   537       		group=default,
   543       		fixedsize=true,
   538       		height=2,
   544       		group=default,
   539       		label="4: 4011b46eeb33",
   545       		height=0.5,
       
   546       		label=4,
   540       		pin=true,
   547       		pin=true,
   541       		pos="1,4!",
   548       		pos="1,4!",
   542       		shape=pentagon,
   549       		shape=pentagon,
   543       		style=filled,
   550       		style=filled,
   544       		width=2];
   551       		width=0.5];
   545       	3 -> 4;
   552       	3 -> 4	 [arrowhead=none,
   546       	5	 [fillcolor="#7F7FFF",
   553       		penwidth=2.0];
   547       		fixedsize=true,
   554       	5	 [fillcolor="#9999FF",
   548       		group=default,
   555       		fixedsize=true,
   549       		height=2,
   556       		group=default,
   550       		label="5: 2d50db8b5b4c",
   557       		height=0.5,
       
   558       		label=5,
   551       		pin=true,
   559       		pin=true,
   552       		pos="1,5!",
   560       		pos="1,5!",
   553       		shape=pentagon,
   561       		shape=pentagon,
   554       		style=filled,
   562       		style=filled,
   555       		width=2];
   563       		width=0.5];
   556       	4 -> 5;
   564       	4 -> 5	 [arrowhead=none,
       
   565       		penwidth=2.0];
   557       }
   566       }
   558 #endif
   567 #endif
   559 
   568 
   560 The topic information will disappear when we publish the changesets:
   569 The topic information will disappear when we publish the changesets:
   561 
   570 
   604       strict digraph  {
   613       strict digraph  {
   605       	graph [rankdir=LR,
   614       	graph [rankdir=LR,
   606       		splines=polyline
   615       		splines=polyline
   607       	];
   616       	];
   608       	node [label="\N"];
   617       	node [label="\N"];
   609       	0	 [fillcolor="#7F7FFF",
   618       	0	 [fillcolor="#9999FF",
   610       		fixedsize=true,
   619       		fixedsize=true,
   611       		group=default,
   620       		group=default,
   612       		height=2,
   621       		height=0.5,
   613       		label="0: 38da43f0a2ea",
   622       		label=0,
   614       		pin=true,
   623       		pin=true,
   615       		pos="1,0!",
   624       		pos="1,0!",
   616       		shape=circle,
   625       		shape=circle,
   617       		style=filled,
   626       		style=filled,
   618       		width=2];
   627       		width=0.5];
   619       	3	 [fillcolor="#7F7FFF",
   628       	3	 [fillcolor="#9999FF",
   620       		fixedsize=true,
   629       		fixedsize=true,
   621       		group=default,
   630       		group=default,
   622       		height=2,
   631       		height=0.5,
   623       		label="3: 6104862e8b84",
   632       		label=3,
   624       		pin=true,
   633       		pin=true,
   625       		pos="1,3!",
   634       		pos="1,3!",
   626       		shape=circle,
   635       		shape=circle,
   627       		style=filled,
   636       		style=filled,
   628       		width=2];
   637       		width=0.5];
   629       	0 -> 3;
   638       	0 -> 3	 [arrowhead=none,
   630       	4	 [fillcolor="#7F7FFF",
   639       		penwidth=2.0];
   631       		fixedsize=true,
   640       	4	 [fillcolor="#9999FF",
   632       		group=default,
   641       		fixedsize=true,
   633       		height=2,
   642       		group=default,
   634       		label="4: 4011b46eeb33",
   643       		height=0.5,
       
   644       		label=4,
   635       		pin=true,
   645       		pin=true,
   636       		pos="1,4!",
   646       		pos="1,4!",
   637       		shape=circle,
   647       		shape=circle,
   638       		style=filled,
   648       		style=filled,
   639       		width=2];
   649       		width=0.5];
   640       	3 -> 4;
   650       	3 -> 4	 [arrowhead=none,
   641       	5	 [fillcolor="#7F7FFF",
   651       		penwidth=2.0];
   642       		fixedsize=true,
   652       	5	 [fillcolor="#9999FF",
   643       		group=default,
   653       		fixedsize=true,
   644       		height=2,
   654       		group=default,
   645       		label="5: 2d50db8b5b4c",
   655       		height=0.5,
       
   656       		label=5,
   646       		pin=true,
   657       		pin=true,
   647       		pos="1,5!",
   658       		pos="1,5!",
   648       		shape=circle,
   659       		shape=circle,
   649       		style=filled,
   660       		style=filled,
   650       		width=2];
   661       		width=0.5];
   651       	4 -> 5;
   662       	4 -> 5	 [arrowhead=none,
       
   663       		penwidth=2.0];
   652       }
   664       }
   653 #endif
   665 #endif
   654 
   666 
   655   $ hg update default
   667   $ hg update default
   656   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   668   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   825       strict digraph  {
   837       strict digraph  {
   826       	graph [rankdir=LR,
   838       	graph [rankdir=LR,
   827       		splines=polyline
   839       		splines=polyline
   828       	];
   840       	];
   829       	node [label="\N"];
   841       	node [label="\N"];
   830       	0	 [fillcolor="#7F7FFF",
   842       	0	 [fillcolor="#9999FF",
   831       		fixedsize=true,
   843       		fixedsize=true,
   832       		group=default,
   844       		group=default,
   833       		height=2,
   845       		height=0.5,
   834       		label="0: 38da43f0a2ea",
   846       		label=0,
   835       		pin=true,
   847       		pin=true,
   836       		pos="1,0!",
   848       		pos="1,0!",
   837       		shape=circle,
   849       		shape=circle,
   838       		style=filled,
   850       		style=filled,
   839       		width=2];
   851       		width=0.5];
   840       	3	 [fillcolor="#7F7FFF",
   852       	3	 [fillcolor="#9999FF",
   841       		fixedsize=true,
   853       		fixedsize=true,
   842       		group=default,
   854       		group=default,
   843       		height=2,
   855       		height=0.5,
   844       		label="3: 6104862e8b84",
   856       		label=3,
   845       		pin=true,
   857       		pin=true,
   846       		pos="1,3!",
   858       		pos="1,3!",
   847       		shape=circle,
   859       		shape=circle,
   848       		style=filled,
   860       		style=filled,
   849       		width=2];
   861       		width=0.5];
   850       	0 -> 3;
   862       	0 -> 3	 [arrowhead=none,
   851       	4	 [fillcolor="#7F7FFF",
   863       		penwidth=2.0];
   852       		fixedsize=true,
   864       	4	 [fillcolor="#9999FF",
   853       		group=default,
   865       		fixedsize=true,
   854       		height=2,
   866       		group=default,
   855       		label="4: 4011b46eeb33",
   867       		height=0.5,
       
   868       		label=4,
   856       		pin=true,
   869       		pin=true,
   857       		pos="1,4!",
   870       		pos="1,4!",
   858       		shape=circle,
   871       		shape=circle,
   859       		style=filled,
   872       		style=filled,
   860       		width=2];
   873       		width=0.5];
   861       	3 -> 4;
   874       	3 -> 4	 [arrowhead=none,
   862       	5	 [fillcolor="#7F7FFF",
   875       		penwidth=2.0];
   863       		fixedsize=true,
   876       	5	 [fillcolor="#9999FF",
   864       		group=default,
   877       		fixedsize=true,
   865       		height=2,
   878       		group=default,
   866       		label="5: 2d50db8b5b4c",
   879       		height=0.5,
       
   880       		label=5,
   867       		pin=true,
   881       		pin=true,
   868       		pos="1,5!",
   882       		pos="1,5!",
   869       		shape=circle,
   883       		shape=circle,
   870       		style=filled,
   884       		style=filled,
   871       		width=2];
   885       		width=0.5];
   872       	4 -> 5;
   886       	4 -> 5	 [arrowhead=none,
   873       	6	 [fillcolor="#7F7FFF",
   887       		penwidth=2.0];
   874       		fixedsize=true,
   888       	6	 [fillcolor="#9999FF",
   875       		group=default,
   889       		fixedsize=true,
   876       		height=2,
   890       		group=default,
   877       		label="6: 183984ef46d1",
   891       		height=0.5,
       
   892       		label=6,
   878       		pin=true,
   893       		pin=true,
   879       		pos="1,6!",
   894       		pos="1,6!",
   880       		shape=pentagon,
   895       		shape=pentagon,
   881       		style=filled,
   896       		style=filled,
   882       		width=2];
   897       		width=0.5];
   883       	5 -> 6;
   898       	5 -> 6	 [arrowhead=none,
   884       	9	 [fillcolor="#7F7FFF",
   899       		penwidth=2.0];
   885       		fixedsize=true,
   900       	9	 [fillcolor="#9999FF",
   886       		group=default,
   901       		fixedsize=true,
   887       		height=2,
   902       		group=default,
   888       		label="9: 8dfa45bd5e0c",
   903       		height=0.5,
       
   904       		label=9,
   889       		pin=true,
   905       		pin=true,
   890       		pos="1,9!",
   906       		pos="1,9!",
   891       		shape=pentagon,
   907       		shape=pentagon,
   892       		style=filled,
   908       		style=filled,
   893       		width=2];
   909       		width=0.5];
   894       	5 -> 9;
   910       	5 -> 9	 [arrowhead=none,
   895       	11	 [fillcolor="#7F7FFF",
   911       		penwidth=2.0];
   896       		fixedsize=true,
   912       	11	 [fillcolor="#9999FF",
   897       		group=default,
   913       		fixedsize=true,
   898       		height=2,
   914       		group=default,
   899       		label="11: f2d6cacc6115",
   915       		height=0.5,
       
   916       		label=11,
   900       		pin=true,
   917       		pin=true,
   901       		pos="1,11!",
   918       		pos="1,11!",
   902       		shape=circle,
   919       		shape=circle,
   903       		style=filled,
   920       		style=filled,
   904       		width=2];
   921       		width=0.5];
   905       	5 -> 11;
   922       	5 -> 11	 [arrowhead=none,
   906       	7	 [fillcolor="#7F7FFF",
   923       		penwidth=2.0];
   907       		fixedsize=true,
   924       	7	 [fillcolor="#9999FF",
   908       		group=default,
   925       		fixedsize=true,
   909       		height=2,
   926       		group=default,
   910       		label="7: cffff85af537",
   927       		height=0.5,
       
   928       		label=7,
   911       		pin=true,
   929       		pin=true,
   912       		pos="1,7!",
   930       		pos="1,7!",
   913       		shape=pentagon,
   931       		shape=pentagon,
   914       		style=filled,
   932       		style=filled,
   915       		width=2];
   933       		width=0.5];
   916       	6 -> 7;
   934       	6 -> 7	 [arrowhead=none,
   917       	8	 [fillcolor="#7F7FFF",
   935       		penwidth=2.0];
   918       		fixedsize=true,
   936       	8	 [fillcolor="#9999FF",
   919       		group=default,
   937       		fixedsize=true,
   920       		height=2,
   938       		group=default,
   921       		label="8: 34255b455dac",
   939       		height=0.5,
       
   940       		label=8,
   922       		pin=true,
   941       		pin=true,
   923       		pos="1,8!",
   942       		pos="1,8!",
   924       		shape=pentagon,
   943       		shape=pentagon,
   925       		style=filled,
   944       		style=filled,
   926       		width=2];
   945       		width=0.5];
   927       	7 -> 8;
   946       	7 -> 8	 [arrowhead=none,
   928       	10	 [fillcolor="#7F7FFF",
   947       		penwidth=2.0];
   929       		fixedsize=true,
   948       	10	 [fillcolor="#9999FF",
   930       		group=default,
   949       		fixedsize=true,
   931       		height=2,
   950       		group=default,
   932       		label="10: 70dfa201ed73",
   951       		height=0.5,
       
   952       		label=10,
   933       		pin=true,
   953       		pin=true,
   934       		pos="1,10!",
   954       		pos="1,10!",
   935       		shape=pentagon,
   955       		shape=pentagon,
   936       		style=filled,
   956       		style=filled,
   937       		width=2];
   957       		width=0.5];
   938       	9 -> 10;
   958       	9 -> 10	 [arrowhead=none,
   939       	12	 [fillcolor="#7F7FFF",
   959       		penwidth=2.0];
   940       		fixedsize=true,
   960       	12	 [fillcolor="#9999FF",
   941       		group=default,
   961       		fixedsize=true,
   942       		height=2,
   962       		group=default,
   943       		label="12: fbff9bc37a43",
   963       		height=0.5,
       
   964       		label=12,
   944       		pin=true,
   965       		pin=true,
   945       		pos="1,12!",
   966       		pos="1,12!",
   946       		shape=circle,
   967       		shape=circle,
   947       		style=filled,
   968       		style=filled,
   948       		width=2];
   969       		width=0.5];
   949       	11 -> 12;
   970       	11 -> 12	 [arrowhead=none,
       
   971       		penwidth=2.0];
   950       }
   972       }
   951 #endif
   973 #endif
   952 
   974 
   953   $ hg rebase
   975   $ hg rebase
   954   rebasing 6:183984ef46d1 "Adding hammer"
   976   rebasing 6:183984ef46d1 "Adding hammer"
  1156       strict digraph  {
  1178       strict digraph  {
  1157       	graph [rankdir=LR,
  1179       	graph [rankdir=LR,
  1158       		splines=polyline
  1180       		splines=polyline
  1159       	];
  1181       	];
  1160       	node [label="\N"];
  1182       	node [label="\N"];
  1161       	12	 [fillcolor="#7F7FFF",
  1183       	12	 [fillcolor="#9999FF",
  1162       		fixedsize=true,
  1184       		fixedsize=true,
  1163       		group=default,
  1185       		group=default,
  1164       		height=2,
  1186       		height=0.5,
  1165       		label="12: fbff9bc37a43",
  1187       		label=12,
  1166       		pin=true,
  1188       		pin=true,
  1167       		pos="1,12!",
  1189       		pos="1,12!",
  1168       		shape=circle,
  1190       		shape=circle,
  1169       		style=filled,
  1191       		style=filled,
  1170       		width=2];
  1192       		width=0.5];
  1171       	13	 [fillcolor="#DFDFFF",
  1193       	13	 [fillcolor="#DFDFFF",
  1172       		fixedsize=true,
  1194       		fixedsize=true,
  1173       		group=default_alt,
  1195       		group=default_alt,
  1174       		height=2,
  1196       		height=0.5,
  1175       		label="13: a8ab3599d53d",
  1197       		label=13,
  1176       		pin=true,
  1198       		pin=true,
  1177       		pos="2,13!",
  1199       		pos="2,13!",
  1178       		shape=pentagon,
  1200       		shape=pentagon,
  1179       		style="dotted, filled",
  1201       		style="dotted, filled",
  1180       		width=2];
  1202       		width=0.5];
  1181       	12 -> 13;
  1203       	12 -> 13	 [arrowhead=none,
  1182       	18	 [fillcolor="#7F7FFF",
  1204       		penwidth=2.0];
  1183       		fixedsize=true,
  1205       	18	 [fillcolor="#9999FF",
  1184       		group=default,
  1206       		fixedsize=true,
  1185       		height=2,
  1207       		group=default,
  1186       		label="18: b7509bd417f8",
  1208       		height=0.5,
       
  1209       		label=18,
  1187       		pin=true,
  1210       		pin=true,
  1188       		pos="1,18!",
  1211       		pos="1,18!",
  1189       		shape=pentagon,
  1212       		shape=pentagon,
  1190       		style=filled,
  1213       		style=filled,
  1191       		width=2];
  1214       		width=0.5];
  1192       	12 -> 18;
  1215       	12 -> 18	 [arrowhead=none,
  1193       	16	 [fillcolor="#7F7FFF",
  1216       		penwidth=2.0];
  1194       		fixedsize=true,
  1217       	16	 [fillcolor="#9999FF",
  1195       		group=default,
  1218       		fixedsize=true,
  1196       		height=2,
  1219       		group=default,
  1197       		label="16: 20759cb47ff8",
  1220       		height=0.5,
       
  1221       		label=16,
  1198       		pin=true,
  1222       		pin=true,
  1199       		pos="1,16!",
  1223       		pos="1,16!",
  1200       		shape=circle,
  1224       		shape=circle,
  1201       		style=filled,
  1225       		style=filled,
  1202       		width=2];
  1226       		width=0.5];
  1203       	12 -> 16;
  1227       	12 -> 16	 [arrowhead=none,
  1204       	13 -> 18	 [arrowtail=dot,
  1228       		penwidth=2.0];
  1205       		dir=back,
  1229       	13 -> 18	 [arrowhead=none,
  1206       		minlen=0,
  1230       		minlen=0,
  1207       		style=dotted];
  1231       		penwidth=2.0,
  1208       	14	 [fillcolor="#FF3535",
  1232       		style=dashed];
       
  1233       	14	 [fillcolor="#FF4F4F",
  1209       		fixedsize=true,
  1234       		fixedsize=true,
  1210       		group=default_alt,
  1235       		group=default_alt,
  1211       		height=2,
  1236       		height=0.5,
  1212       		label="14: d4f97f32f8a1",
  1237       		label=14,
  1213       		pin=true,
  1238       		pin=true,
  1214       		pos="2,14!",
  1239       		pos="2,14!",
  1215       		shape=pentagon,
  1240       		shape=pentagon,
  1216       		style=filled,
  1241       		style=filled,
  1217       		width=2];
  1242       		width=0.5];
  1218       	13 -> 14;
  1243       	13 -> 14	 [arrowhead=none,
  1219       	15	 [fillcolor="#FF3535",
  1244       		penwidth=2.0];
       
  1245       	15	 [fillcolor="#FF4F4F",
  1220       		fixedsize=true,
  1246       		fixedsize=true,
  1221       		group=default_alt,
  1247       		group=default_alt,
  1222       		height=2,
  1248       		height=0.5,
  1223       		label="15: bb1e6254f532",
  1249       		label=15,
  1224       		pin=true,
  1250       		pin=true,
  1225       		pos="2,15!",
  1251       		pos="2,15!",
  1226       		shape=pentagon,
  1252       		shape=pentagon,
  1227       		style=filled,
  1253       		style=filled,
  1228       		width=2];
  1254       		width=0.5];
  1229       	14 -> 15;
  1255       	14 -> 15	 [arrowhead=none,
  1230       	17	 [fillcolor="#7F7FFF",
  1256       		penwidth=2.0];
  1231       		fixedsize=true,
  1257       	17	 [fillcolor="#9999FF",
  1232       		group=default,
  1258       		fixedsize=true,
  1233       		height=2,
  1259       		group=default,
  1234       		label="17: 4cd7c1591a67",
  1260       		height=0.5,
       
  1261       		label=17,
  1235       		pin=true,
  1262       		pin=true,
  1236       		pos="1,17!",
  1263       		pos="1,17!",
  1237       		shape=circle,
  1264       		shape=circle,
  1238       		style=filled,
  1265       		style=filled,
  1239       		width=2];
  1266       		width=0.5];
  1240       	16 -> 17;
  1267       	16 -> 17	 [arrowhead=none,
       
  1268       		penwidth=2.0];
  1241       }
  1269       }
  1242 #endif
  1270 #endif
  1243 
  1271 
  1244 Fortunately stack shows you a better visualization:
  1272 Fortunately stack shows you a better visualization:
  1245 
  1273 
  1328       strict digraph  {
  1356       strict digraph  {
  1329       	graph [rankdir=LR,
  1357       	graph [rankdir=LR,
  1330       		splines=polyline
  1358       		splines=polyline
  1331       	];
  1359       	];
  1332       	node [label="\N"];
  1360       	node [label="\N"];
  1333       	12	 [fillcolor="#7F7FFF",
  1361       	12	 [fillcolor="#9999FF",
  1334       		fixedsize=true,
  1362       		fixedsize=true,
  1335       		group=default,
  1363       		group=default,
  1336       		height=2,
  1364       		height=0.5,
  1337       		label="12: fbff9bc37a43",
  1365       		label=12,
  1338       		pin=true,
  1366       		pin=true,
  1339       		pos="1,12!",
  1367       		pos="1,12!",
  1340       		shape=circle,
  1368       		shape=circle,
  1341       		style=filled,
  1369       		style=filled,
  1342       		width=2];
  1370       		width=0.5];
  1343       	16	 [fillcolor="#7F7FFF",
  1371       	16	 [fillcolor="#9999FF",
  1344       		fixedsize=true,
  1372       		fixedsize=true,
  1345       		group=default,
  1373       		group=default,
  1346       		height=2,
  1374       		height=0.5,
  1347       		label="16: 20759cb47ff8",
  1375       		label=16,
  1348       		pin=true,
  1376       		pin=true,
  1349       		pos="1,16!",
  1377       		pos="1,16!",
  1350       		shape=circle,
  1378       		shape=circle,
  1351       		style=filled,
  1379       		style=filled,
  1352       		width=2];
  1380       		width=0.5];
  1353       	12 -> 16;
  1381       	12 -> 16	 [arrowhead=none,
  1354       	18	 [fillcolor="#7F7FFF",
  1382       		penwidth=2.0];
  1355       		fixedsize=true,
  1383       	18	 [fillcolor="#9999FF",
  1356       		group=default,
  1384       		fixedsize=true,
  1357       		height=2,
  1385       		group=default,
  1358       		label="18: b7509bd417f8",
  1386       		height=0.5,
       
  1387       		label=18,
  1359       		pin=true,
  1388       		pin=true,
  1360       		pos="1,18!",
  1389       		pos="1,18!",
  1361       		shape=pentagon,
  1390       		shape=pentagon,
  1362       		style=filled,
  1391       		style=filled,
  1363       		width=2];
  1392       		width=0.5];
  1364       	12 -> 18;
  1393       	12 -> 18	 [arrowhead=none,
  1365       	17	 [fillcolor="#7F7FFF",
  1394       		penwidth=2.0];
  1366       		fixedsize=true,
  1395       	17	 [fillcolor="#9999FF",
  1367       		group=default,
  1396       		fixedsize=true,
  1368       		height=2,
  1397       		group=default,
  1369       		label="17: 4cd7c1591a67",
  1398       		height=0.5,
       
  1399       		label=17,
  1370       		pin=true,
  1400       		pin=true,
  1371       		pos="1,17!",
  1401       		pos="1,17!",
  1372       		shape=circle,
  1402       		shape=circle,
  1373       		style=filled,
  1403       		style=filled,
  1374       		width=2];
  1404       		width=0.5];
  1375       	16 -> 17;
  1405       	16 -> 17	 [arrowhead=none,
  1376       	19	 [fillcolor="#7F7FFF",
  1406       		penwidth=2.0];
  1377       		fixedsize=true,
  1407       	19	 [fillcolor="#9999FF",
  1378       		group=default,
  1408       		fixedsize=true,
  1379       		height=2,
  1409       		group=default,
  1380       		label="19: d5c51ee5762a",
  1410       		height=0.5,
       
  1411       		label=19,
  1381       		pin=true,
  1412       		pin=true,
  1382       		pos="1,19!",
  1413       		pos="1,19!",
  1383       		shape=pentagon,
  1414       		shape=pentagon,
  1384       		style=filled,
  1415       		style=filled,
  1385       		width=2];
  1416       		width=0.5];
  1386       	18 -> 19;
  1417       	18 -> 19	 [arrowhead=none,
  1387       	20	 [fillcolor="#7F7FFF",
  1418       		penwidth=2.0];
  1388       		fixedsize=true,
  1419       	20	 [fillcolor="#9999FF",
  1389       		group=default,
  1420       		fixedsize=true,
  1390       		height=2,
  1421       		group=default,
  1391       		label="20: bae3758e46bf",
  1422       		height=0.5,
       
  1423       		label=20,
  1392       		pin=true,
  1424       		pin=true,
  1393       		pos="1,20!",
  1425       		pos="1,20!",
  1394       		shape=pentagon,
  1426       		shape=pentagon,
  1395       		style=filled,
  1427       		style=filled,
  1396       		width=2];
  1428       		width=0.5];
  1397       	19 -> 20;
  1429       	19 -> 20	 [arrowhead=none,
       
  1430       		penwidth=2.0];
  1398       }
  1431       }
  1399 #endif
  1432 #endif
  1400 Multi-headed stack
  1433 Multi-headed stack
  1401 ------------------
  1434 ------------------
  1402 
  1435 
  1504       strict digraph  {
  1537       strict digraph  {
  1505       	graph [rankdir=LR,
  1538       	graph [rankdir=LR,
  1506       		splines=polyline
  1539       		splines=polyline
  1507       	];
  1540       	];
  1508       	node [label="\N"];
  1541       	node [label="\N"];
  1509       	0	 [fillcolor="#7F7FFF",
  1542       	0	 [fillcolor="#9999FF",
  1510       		fixedsize=true,
  1543       		fixedsize=true,
  1511       		group=default,
  1544       		group=default,
  1512       		height=2,
  1545       		height=0.5,
  1513       		label="0: 38da43f0a2ea",
  1546       		label=0,
  1514       		pin=true,
  1547       		pin=true,
  1515       		pos="1,0!",
  1548       		pos="1,0!",
  1516       		shape=circle,
  1549       		shape=circle,
  1517       		style=filled,
  1550       		style=filled,
  1518       		width=2];
  1551       		width=0.5];
  1519       	3	 [fillcolor="#7F7FFF",
  1552       	3	 [fillcolor="#9999FF",
  1520       		fixedsize=true,
  1553       		fixedsize=true,
  1521       		group=default,
  1554       		group=default,
  1522       		height=2,
  1555       		height=0.5,
  1523       		label="3: 6104862e8b84",
  1556       		label=3,
  1524       		pin=true,
  1557       		pin=true,
  1525       		pos="1,3!",
  1558       		pos="1,3!",
  1526       		shape=circle,
  1559       		shape=circle,
  1527       		style=filled,
  1560       		style=filled,
  1528       		width=2];
  1561       		width=0.5];
  1529       	0 -> 3;
  1562       	0 -> 3	 [arrowhead=none,
  1530       	4	 [fillcolor="#7F7FFF",
  1563       		penwidth=2.0];
  1531       		fixedsize=true,
  1564       	4	 [fillcolor="#9999FF",
  1532       		group=default,
  1565       		fixedsize=true,
  1533       		height=2,
  1566       		group=default,
  1534       		label="4: 4011b46eeb33",
  1567       		height=0.5,
       
  1568       		label=4,
  1535       		pin=true,
  1569       		pin=true,
  1536       		pos="1,4!",
  1570       		pos="1,4!",
  1537       		shape=circle,
  1571       		shape=circle,
  1538       		style=filled,
  1572       		style=filled,
  1539       		width=2];
  1573       		width=0.5];
  1540       	3 -> 4;
  1574       	3 -> 4	 [arrowhead=none,
  1541       	5	 [fillcolor="#7F7FFF",
  1575       		penwidth=2.0];
  1542       		fixedsize=true,
  1576       	5	 [fillcolor="#9999FF",
  1543       		group=default,
  1577       		fixedsize=true,
  1544       		height=2,
  1578       		group=default,
  1545       		label="5: 2d50db8b5b4c",
  1579       		height=0.5,
       
  1580       		label=5,
  1546       		pin=true,
  1581       		pin=true,
  1547       		pos="1,5!",
  1582       		pos="1,5!",
  1548       		shape=circle,
  1583       		shape=circle,
  1549       		style=filled,
  1584       		style=filled,
  1550       		width=2];
  1585       		width=0.5];
  1551       	4 -> 5;
  1586       	4 -> 5	 [arrowhead=none,
  1552       	11	 [fillcolor="#7F7FFF",
  1587       		penwidth=2.0];
  1553       		fixedsize=true,
  1588       	11	 [fillcolor="#9999FF",
  1554       		group=default,
  1589       		fixedsize=true,
  1555       		height=2,
  1590       		group=default,
  1556       		label="11: f2d6cacc6115",
  1591       		height=0.5,
       
  1592       		label=11,
  1557       		pin=true,
  1593       		pin=true,
  1558       		pos="1,11!",
  1594       		pos="1,11!",
  1559       		shape=circle,
  1595       		shape=circle,
  1560       		style=filled,
  1596       		style=filled,
  1561       		width=2];
  1597       		width=0.5];
  1562       	5 -> 11;
  1598       	5 -> 11	 [arrowhead=none,
  1563       	12	 [fillcolor="#7F7FFF",
  1599       		penwidth=2.0];
  1564       		fixedsize=true,
  1600       	12	 [fillcolor="#9999FF",
  1565       		group=default,
  1601       		fixedsize=true,
  1566       		height=2,
  1602       		group=default,
  1567       		label="12: fbff9bc37a43",
  1603       		height=0.5,
       
  1604       		label=12,
  1568       		pin=true,
  1605       		pin=true,
  1569       		pos="1,12!",
  1606       		pos="1,12!",
  1570       		shape=circle,
  1607       		shape=circle,
  1571       		style=filled,
  1608       		style=filled,
  1572       		width=2];
  1609       		width=0.5];
  1573       	11 -> 12;
  1610       	11 -> 12	 [arrowhead=none,
  1574       	16	 [fillcolor="#7F7FFF",
  1611       		penwidth=2.0];
  1575       		fixedsize=true,
  1612       	16	 [fillcolor="#9999FF",
  1576       		group=default,
  1613       		fixedsize=true,
  1577       		height=2,
  1614       		group=default,
  1578       		label="16: 20759cb47ff8",
  1615       		height=0.5,
       
  1616       		label=16,
  1579       		pin=true,
  1617       		pin=true,
  1580       		pos="1,16!",
  1618       		pos="1,16!",
  1581       		shape=circle,
  1619       		shape=circle,
  1582       		style=filled,
  1620       		style=filled,
  1583       		width=2];
  1621       		width=0.5];
  1584       	12 -> 16;
  1622       	12 -> 16	 [arrowhead=none,
  1585       	18	 [fillcolor="#7F7FFF",
  1623       		penwidth=2.0];
  1586       		fixedsize=true,
  1624       	18	 [fillcolor="#9999FF",
  1587       		group=default,
  1625       		fixedsize=true,
  1588       		height=2,
  1626       		group=default,
  1589       		label="18: b7509bd417f8",
  1627       		height=0.5,
       
  1628       		label=18,
  1590       		pin=true,
  1629       		pin=true,
  1591       		pos="1,18!",
  1630       		pos="1,18!",
  1592       		shape=pentagon,
  1631       		shape=pentagon,
  1593       		style=filled,
  1632       		style=filled,
  1594       		width=2];
  1633       		width=0.5];
  1595       	12 -> 18;
  1634       	12 -> 18	 [arrowhead=none,
  1596       	17	 [fillcolor="#7F7FFF",
  1635       		penwidth=2.0];
  1597       		fixedsize=true,
  1636       	17	 [fillcolor="#9999FF",
  1598       		group=default,
  1637       		fixedsize=true,
  1599       		height=2,
  1638       		group=default,
  1600       		label="17: 4cd7c1591a67",
  1639       		height=0.5,
       
  1640       		label=17,
  1601       		pin=true,
  1641       		pin=true,
  1602       		pos="1,17!",
  1642       		pos="1,17!",
  1603       		shape=circle,
  1643       		shape=circle,
  1604       		style=filled,
  1644       		style=filled,
  1605       		width=2];
  1645       		width=0.5];
  1606       	16 -> 17;
  1646       	16 -> 17	 [arrowhead=none,
  1607       	19	 [fillcolor="#7F7FFF",
  1647       		penwidth=2.0];
  1608       		fixedsize=true,
  1648       	19	 [fillcolor="#9999FF",
  1609       		group=default,
  1649       		fixedsize=true,
  1610       		height=2,
  1650       		group=default,
  1611       		label="19: d5c51ee5762a",
  1651       		height=0.5,
       
  1652       		label=19,
  1612       		pin=true,
  1653       		pin=true,
  1613       		pos="1,19!",
  1654       		pos="1,19!",
  1614       		shape=pentagon,
  1655       		shape=pentagon,
  1615       		style=filled,
  1656       		style=filled,
  1616       		width=2];
  1657       		width=0.5];
  1617       	18 -> 19;
  1658       	18 -> 19	 [arrowhead=none,
  1618       	21	 [fillcolor="#7F7FFF",
  1659       		penwidth=2.0];
  1619       		fixedsize=true,
  1660       	21	 [fillcolor="#9999FF",
  1620       		group=default,
  1661       		fixedsize=true,
  1621       		height=2,
  1662       		group=default,
  1622       		label="21: f936c6da9d61",
  1663       		height=0.5,
       
  1664       		label=21,
  1623       		pin=true,
  1665       		pin=true,
  1624       		pos="1,21!",
  1666       		pos="1,21!",
  1625       		shape=pentagon,
  1667       		shape=pentagon,
  1626       		style=filled,
  1668       		style=filled,
  1627       		width=2];
  1669       		width=0.5];
  1628       	18 -> 21;
  1670       	18 -> 21	 [arrowhead=none,
  1629       	20	 [fillcolor="#7F7FFF",
  1671       		penwidth=2.0];
  1630       		fixedsize=true,
  1672       	20	 [fillcolor="#9999FF",
  1631       		group=default,
  1673       		fixedsize=true,
  1632       		height=2,
  1674       		group=default,
  1633       		label="20: bae3758e46bf",
  1675       		height=0.5,
       
  1676       		label=20,
  1634       		pin=true,
  1677       		pin=true,
  1635       		pos="1,20!",
  1678       		pos="1,20!",
  1636       		shape=pentagon,
  1679       		shape=pentagon,
  1637       		style=filled,
  1680       		style=filled,
  1638       		width=2];
  1681       		width=0.5];
  1639       	19 -> 20;
  1682       	19 -> 20	 [arrowhead=none,
       
  1683       		penwidth=2.0];
  1640       }
  1684       }
  1641 #endif
  1685 #endif
  1642 
  1686 
  1643   $ hg up t4
  1687   $ hg up t4
  1644   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1688   1 files updated, 0 files merged, 0 files removed, 0 files unresolved