##// END OF EJS Templates
test-sparse-revlog: sanity check more part of the graph...
marmoute -
r53333:599c696b default
parent child Browse files
Show More
@@ -117,7 +117,7 def run(target):
117 print("generating commit #%d/%d" % (idx, NB_CHANGESET))
117 print("generating commit #%d/%d" % (idx, NB_CHANGESET))
118 if (idx % PERIOD_BRANCHING) == 0:
118 if (idx % PERIOD_BRANCHING) == 0:
119 move_back = MOVE_BACK_MIN + (idx % MOVE_BACK_RANGE)
119 move_back = MOVE_BACK_MIN + (idx % MOVE_BACK_RANGE)
120 hg('update', ".~%d" % move_back)
120 hg('update', "max(0+.~%d)" % move_back)
121 if (idx % PERIOD_MERGING) == 0:
121 if (idx % PERIOD_MERGING) == 0:
122 hg('merge', 'min(head())')
122 hg('merge', 'min(head())')
123 updatefile(FILENAME, idx)
123 updatefile(FILENAME, idx)
@@ -57,6 +57,113 repeatedly while some of it changes rare
57 updated to "d9032adc8114: commit #5000"
57 updated to "d9032adc8114: commit #5000"
58 89 other heads for branch "default"
58 89 other heads for branch "default"
59
59
60 Sanity check the graph shape
61
62 $ hg log -T '{rev} {p1rev} {p2rev}\n' --rev '0:100'
63 0 -1 -1
64 1 0 -1
65 2 1 -1
66 3 2 -1
67 4 3 -1
68 5 4 -1
69 6 5 -1
70 7 1 -1
71 8 7 6
72 9 8 -1
73 10 9 -1
74 11 10 -1
75 12 11 -1
76 13 12 -1
77 14 1 -1
78 15 14 -1
79 16 15 13
80 17 16 -1
81 18 17 -1
82 19 18 -1
83 20 19 -1
84 21 16 -1
85 22 21 -1
86 23 22 -1
87 24 23 20
88 25 24 -1
89 26 25 -1
90 27 26 -1
91 28 21 -1
92 29 28 -1
93 30 29 -1
94 31 30 -1
95 32 31 27
96 33 32 -1
97 34 33 -1
98 35 31 -1
99 36 35 -1
100 37 36 -1
101 38 37 -1
102 39 38 -1
103 40 39 34
104 41 40 -1
105 42 36 -1
106 43 42 -1
107 44 43 -1
108 45 44 -1
109 46 45 -1
110 47 46 -1
111 48 47 41
112 49 36 -1
113 50 49 -1
114 51 50 -1
115 52 51 -1
116 53 52 -1
117 54 53 -1
118 55 54 -1
119 56 51 48
120 57 56 -1
121 58 57 -1
122 59 58 -1
123 60 59 -1
124 61 60 -1
125 62 61 -1
126 63 56 -1
127 64 63 55
128 65 64 -1
129 66 65 -1
130 67 66 -1
131 68 67 -1
132 69 68 -1
133 70 66 -1
134 71 70 -1
135 72 71 62
136 73 72 -1
137 74 73 -1
138 75 74 -1
139 76 75 -1
140 77 71 -1
141 78 77 -1
142 79 78 -1
143 80 79 69
144 81 80 -1
145 82 81 -1
146 83 82 -1
147 84 71 -1
148 85 84 -1
149 86 85 -1
150 87 86 -1
151 88 87 76
152 89 88 -1
153 90 89 -1
154 91 86 -1
155 92 91 -1
156 93 92 -1
157 94 93 -1
158 95 94 -1
159 96 95 83
160 97 96 -1
161 98 91 -1
162 99 98 -1
163 100 99 -1
164
165 sanity check the change pattern
166
60 $ hg log --stat -r 0:3
167 $ hg log --stat -r 0:3
61 changeset: 0:9706f5af64f4
168 changeset: 0:9706f5af64f4
62 user: test
169 user: test
General Comments 0
You need to be logged in to leave comments. Login now