Mercurial > evolve
annotate docs/figures/figure-sg06.svg @ 6935:954d7ea5cd67 stable tip
stack: when stack base is obsolete, pick any successor, even if at random
There are situations when s0 is obsolete and we also cannot pick just one
successor for it to use in stack. In such a case, let's pick the "latest"
successor from the first set.
We're assuming that obsutil.successorssets() returns data in the same order (it
should, since it makes sure to sort data internally). Keeping that in mind,
while the successor picked for s0 by this code is not based on any sort of
sophisticated logic, it should nonetheless be the same every time.
This patch is probably not going to completely break anything that was
previously working fine, because the previous behavior was to just abort with
an exception.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 16 Nov 2024 17:01:02 +0400 |
parents | 0d1893c1044c |
children |
rev | line source |
---|---|
4937
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
4 <!-- Generated by graphviz version 2.40.1 (20161225.0304) |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
5 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
6 <!-- Title: Mercurial graph Pages: 1 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
7 <svg width="368pt" height="188pt" |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
8 viewBox="0.00 0.00 368.00 188.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
9 <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 184)"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
10 <title>Mercurial graph</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
11 <!-- 0 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
12 <g id="node1" class="node"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
13 <title>0</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
14 <polygon fill="none" stroke="#000000" stroke-width="4" points="72,-180 0,-180 0,-144 72,-144 72,-180"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
15 <text text-anchor="middle" x="36" y="-158.3" font-family="mono" font-size="14.00" fill="#000000">0:0dc9</text> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
16 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
17 <!-- 1 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
18 <g id="node2" class="node"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
19 <title>1</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
20 <polygon fill="none" stroke="#000000" stroke-width="4" points="216,-180 144,-180 144,-144 216,-144 216,-180"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
21 <text text-anchor="middle" x="180" y="-158.3" font-family="mono" font-size="14.00" fill="#000000">1:7b49</text> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
22 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
23 <!-- 0->1 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
24 <g id="edge1" class="edge"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
25 <title>0->1</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
26 <path fill="none" stroke="#000000" stroke-width="2" d="M72.3373,-162C90.9973,-162 113.9327,-162 133.8329,-162"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
27 <polygon fill="#000000" stroke="#000000" stroke-width="2" points="133.9241,-165.5001 143.924,-162 133.924,-158.5001 133.9241,-165.5001"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
28 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
29 <!-- 2 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
30 <g id="node3" class="node"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
31 <title>2</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
32 <polygon fill="none" stroke="#000000" stroke-width="2" points="360,-180 288,-180 288,-144 360,-144 360,-180"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
33 <text text-anchor="middle" x="324" y="-158.3" font-family="mono" font-size="14.00" fill="#000000">2:4e96</text> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
34 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
35 <!-- 1->2 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
36 <g id="edge2" class="edge"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
37 <title>1->2</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
38 <path fill="none" stroke="#000000" stroke-width="2" d="M216.3373,-162C234.9973,-162 257.9327,-162 277.8329,-162"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
39 <polygon fill="#000000" stroke="#000000" stroke-width="2" points="277.9241,-165.5001 287.924,-162 277.924,-158.5001 277.9241,-165.5001"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
40 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
41 <!-- 3 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
42 <g id="node4" class="node"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
43 <title>3</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
44 <polygon fill="none" stroke="#000000" stroke-width="2" points="360,-36 288,-36 288,0 360,0 360,-36"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
45 <text text-anchor="middle" x="324" y="-14.3" font-family="mono" font-size="14.00" fill="#000000">3:3363</text> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
46 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
47 <!-- 1->3 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
48 <g id="edge3" class="edge"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
49 <title>1->3</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
50 <path fill="none" stroke="#000000" stroke-width="2" d="M198.2377,-143.7623C223.6646,-118.3354 269.8747,-72.1253 298.6431,-43.3569"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
51 <polygon fill="#000000" stroke="#000000" stroke-width="2" points="301.3142,-45.6356 305.9104,-36.0896 296.3644,-40.6858 301.3142,-45.6356"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
52 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
53 <!-- 2->3 --> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
54 <g id="edge4" class="edge"> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
55 <title>2->3</title> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
56 <path fill="none" stroke="#000000" stroke-width="2" stroke-dasharray="5,2" d="M324,-135.7351C324,-106.8541 324,-61.2198 324,-36.0896"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
57 <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="324" cy="-139.7623" rx="4" ry="4"/> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
58 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
59 </g> |
0d1893c1044c
docs: add SVG figures for sharing.rst
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
60 </svg> |