##// END OF EJS Templates
test: wider matching in 'test-clone-r.t'...
Pierre-Yves David -
r26926:b87b2524 default
parent child Browse files
Show More
@@ -1,243 +1,243
1 1 $ hg init test
2 2 $ cd test
3 3
4 4 $ echo 0 >> afile
5 5 $ hg add afile
6 6 $ hg commit -m "0.0"
7 7
8 8 $ echo 1 >> afile
9 9 $ hg commit -m "0.1"
10 10
11 11 $ echo 2 >> afile
12 12 $ hg commit -m "0.2"
13 13
14 14 $ echo 3 >> afile
15 15 $ hg commit -m "0.3"
16 16
17 17 $ hg update -C 0
18 18 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
19 19
20 20 $ echo 1 >> afile
21 21 $ hg commit -m "1.1"
22 22 created new head
23 23
24 24 $ echo 2 >> afile
25 25 $ hg commit -m "1.2"
26 26
27 27 $ echo a line > fred
28 28 $ echo 3 >> afile
29 29 $ hg add fred
30 30 $ hg commit -m "1.3"
31 31 $ hg mv afile adifferentfile
32 32 $ hg commit -m "1.3m"
33 33
34 34 $ hg update -C 3
35 35 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
36 36
37 37 $ hg mv afile anotherfile
38 38 $ hg commit -m "0.3m"
39 39
40 40 $ hg debugindex -f 1 afile
41 41 rev flag offset length size ..... link p1 p2 nodeid (re)
42 42 0 0000 0 3 2 ..... 0 -1 -1 362fef284ce2 (re)
43 43 1 0000 3 5 4 ..... 1 0 -1 125144f7e028 (re)
44 44 2 0000 8 7 6 ..... 2 1 -1 4c982badb186 (re)
45 45 3 0000 15 9 8 ..... 3 2 -1 19b1fc555737 (re)
46 46
47 47 $ hg debugindex adifferentfile
48 48 rev offset length ..... linkrev nodeid p1 p2 (re)
49 49 0 0 75 ..... 7 2565f3199a74 000000000000 000000000000 (re)
50 50
51 51 $ hg debugindex anotherfile
52 52 rev offset length ..... linkrev nodeid p1 p2 (re)
53 53 0 0 75 ..... 8 2565f3199a74 000000000000 000000000000 (re)
54 54
55 55 $ hg debugindex fred
56 56 rev offset length ..... linkrev nodeid p1 p2 (re)
57 57 0 0 8 ..... 6 12ab3bcc5ea4 000000000000 000000000000 (re)
58 58
59 59 $ hg debugindex --manifest
60 60 rev offset length ..... linkrev nodeid p1 p2 (re)
61 61 0 0 48 ..... 0 43eadb1d2d06 000000000000 000000000000 (re)
62 62 1 48 48 ..... 1 8b89697eba2c 43eadb1d2d06 000000000000 (re)
63 63 2 96 48 ..... 2 626a32663c2f 8b89697eba2c 000000000000 (re)
64 64 3 144 48 ..... 3 f54c32f13478 626a32663c2f 000000000000 (re)
65 65 4 192 .. ..... 6 de68e904d169 626a32663c2f 000000000000 (re)
66 5 2.. 68 ..... 7 09bb521d218d de68e904d169 000000000000 (re)
66 5 2.. .. ..... 7 09bb521d218d de68e904d169 000000000000 (re)
67 67 6 3.. 54 ..... 8 1fde233dfb0f f54c32f13478 000000000000 (re)
68 68
69 69 $ hg verify
70 70 checking changesets
71 71 checking manifests
72 72 crosschecking files in changesets and manifests
73 73 checking files
74 74 4 files, 9 changesets, 7 total revisions
75 75
76 76 $ cd ..
77 77
78 78 $ for i in 0 1 2 3 4 5 6 7 8; do
79 79 > echo
80 80 > echo ---- hg clone -r "$i" test test-"$i"
81 81 > hg clone -r "$i" test test-"$i"
82 82 > cd test-"$i"
83 83 > hg verify
84 84 > cd ..
85 85 > done
86 86
87 87 ---- hg clone -r 0 test test-0
88 88 adding changesets
89 89 adding manifests
90 90 adding file changes
91 91 added 1 changesets with 1 changes to 1 files
92 92 updating to branch default
93 93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
94 94 checking changesets
95 95 checking manifests
96 96 crosschecking files in changesets and manifests
97 97 checking files
98 98 1 files, 1 changesets, 1 total revisions
99 99
100 100 ---- hg clone -r 1 test test-1
101 101 adding changesets
102 102 adding manifests
103 103 adding file changes
104 104 added 2 changesets with 2 changes to 1 files
105 105 updating to branch default
106 106 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
107 107 checking changesets
108 108 checking manifests
109 109 crosschecking files in changesets and manifests
110 110 checking files
111 111 1 files, 2 changesets, 2 total revisions
112 112
113 113 ---- hg clone -r 2 test test-2
114 114 adding changesets
115 115 adding manifests
116 116 adding file changes
117 117 added 3 changesets with 3 changes to 1 files
118 118 updating to branch default
119 119 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
120 120 checking changesets
121 121 checking manifests
122 122 crosschecking files in changesets and manifests
123 123 checking files
124 124 1 files, 3 changesets, 3 total revisions
125 125
126 126 ---- hg clone -r 3 test test-3
127 127 adding changesets
128 128 adding manifests
129 129 adding file changes
130 130 added 4 changesets with 4 changes to 1 files
131 131 updating to branch default
132 132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
133 133 checking changesets
134 134 checking manifests
135 135 crosschecking files in changesets and manifests
136 136 checking files
137 137 1 files, 4 changesets, 4 total revisions
138 138
139 139 ---- hg clone -r 4 test test-4
140 140 adding changesets
141 141 adding manifests
142 142 adding file changes
143 143 added 2 changesets with 2 changes to 1 files
144 144 updating to branch default
145 145 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
146 146 checking changesets
147 147 checking manifests
148 148 crosschecking files in changesets and manifests
149 149 checking files
150 150 1 files, 2 changesets, 2 total revisions
151 151
152 152 ---- hg clone -r 5 test test-5
153 153 adding changesets
154 154 adding manifests
155 155 adding file changes
156 156 added 3 changesets with 3 changes to 1 files
157 157 updating to branch default
158 158 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
159 159 checking changesets
160 160 checking manifests
161 161 crosschecking files in changesets and manifests
162 162 checking files
163 163 1 files, 3 changesets, 3 total revisions
164 164
165 165 ---- hg clone -r 6 test test-6
166 166 adding changesets
167 167 adding manifests
168 168 adding file changes
169 169 added 4 changesets with 5 changes to 2 files
170 170 updating to branch default
171 171 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
172 172 checking changesets
173 173 checking manifests
174 174 crosschecking files in changesets and manifests
175 175 checking files
176 176 2 files, 4 changesets, 5 total revisions
177 177
178 178 ---- hg clone -r 7 test test-7
179 179 adding changesets
180 180 adding manifests
181 181 adding file changes
182 182 added 5 changesets with 6 changes to 3 files
183 183 updating to branch default
184 184 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
185 185 checking changesets
186 186 checking manifests
187 187 crosschecking files in changesets and manifests
188 188 checking files
189 189 3 files, 5 changesets, 6 total revisions
190 190
191 191 ---- hg clone -r 8 test test-8
192 192 adding changesets
193 193 adding manifests
194 194 adding file changes
195 195 added 5 changesets with 5 changes to 2 files
196 196 updating to branch default
197 197 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
198 198 checking changesets
199 199 checking manifests
200 200 crosschecking files in changesets and manifests
201 201 checking files
202 202 2 files, 5 changesets, 5 total revisions
203 203
204 204 $ cd test-8
205 205 $ hg pull ../test-7
206 206 pulling from ../test-7
207 207 searching for changes
208 208 adding changesets
209 209 adding manifests
210 210 adding file changes
211 211 added 4 changesets with 2 changes to 3 files (+1 heads)
212 212 (run 'hg heads' to see heads, 'hg merge' to merge)
213 213 $ hg verify
214 214 checking changesets
215 215 checking manifests
216 216 crosschecking files in changesets and manifests
217 217 checking files
218 218 4 files, 9 changesets, 7 total revisions
219 219 $ cd ..
220 220
221 221 $ hg clone test test-9
222 222 updating to branch default
223 223 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
224 224 $ cd test-9
225 225 $ hg branch foobar
226 226 marked working directory as branch foobar
227 227 (branches are permanent and global, did you want a bookmark?)
228 228 $ echo file2 >> file2
229 229 $ hg add file2
230 230 $ hg commit -m "changeset9"
231 231 $ echo file3 >> file3
232 232 $ hg add file3
233 233 $ hg commit -m "changeset10"
234 234 $ cd ..
235 235 $ hg clone -r 9 -u foobar test-9 test-10
236 236 adding changesets
237 237 adding manifests
238 238 adding file changes
239 239 added 6 changesets with 6 changes to 3 files
240 240 updating to branch foobar
241 241 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
242 242
243 243
General Comments 0
You need to be logged in to leave comments. Login now