##// END OF EJS Templates
tests: add test-issue3084.t cases for 'changed but same' as for 'unchanged'...
Mads Kiilerich -
r23418:c90d9ab6 stable
parent child Browse files
Show More
@@ -1,401 +1,471 b''
1
1
2 $ echo "[extensions]" >> $HGRCPATH
2 $ echo "[extensions]" >> $HGRCPATH
3 $ echo "largefiles =" >> $HGRCPATH
3 $ echo "largefiles =" >> $HGRCPATH
4
4
5 Create the repository outside $HOME since largefiles write to
5 Create the repository outside $HOME since largefiles write to
6 $HOME/.cache/largefiles.
6 $HOME/.cache/largefiles.
7
7
8 $ hg init test
8 $ hg init test
9 $ cd test
9 $ cd test
10 $ echo "root" > root
10 $ echo "root" > root
11 $ hg add root
11 $ hg add root
12 $ hg commit -m "Root commit" --config extensions.largefiles=!
12 $ hg commit -m "Root commit" --config extensions.largefiles=!
13
13
14 Ensure that .hg/largefiles isn't created before largefiles are added
14 Ensure that .hg/largefiles isn't created before largefiles are added
15 #if unix-permissions
15 #if unix-permissions
16 $ chmod 555 .hg
16 $ chmod 555 .hg
17 #endif
17 #endif
18 $ hg status
18 $ hg status
19 #if unix-permissions
19 #if unix-permissions
20 $ chmod 755 .hg
20 $ chmod 755 .hg
21 #endif
21 #endif
22
22
23 $ test -f .hg/largefiles
23 $ test -f .hg/largefiles
24 [1]
24 [1]
25
25
26 $ echo "large" > foo
26 $ echo "large" > foo
27 $ hg add --large foo
27 $ hg add --large foo
28 $ hg commit -m "Add foo as a largefile"
28 $ hg commit -m "Add foo as a largefile"
29
29
30 $ hg update -r 0
30 $ hg update -r 0
31 getting changed largefiles
31 getting changed largefiles
32 0 largefiles updated, 1 removed
32 0 largefiles updated, 1 removed
33 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
33 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
34
34
35 $ echo "normal" > foo
35 $ echo "normal" > foo
36 $ hg add foo
36 $ hg add foo
37 $ hg commit -m "Add foo as normal file"
37 $ hg commit -m "Add foo as normal file"
38 created new head
38 created new head
39
39
40 Normal file in the working copy, keeping the normal version:
40 Normal file in the working copy, keeping the normal version:
41
41
42 $ echo "n" | hg merge --config ui.interactive=Yes
42 $ echo "n" | hg merge --config ui.interactive=Yes
43 remote turned local normal file foo into a largefile
43 remote turned local normal file foo into a largefile
44 use (l)argefile or keep (n)ormal file? n
44 use (l)argefile or keep (n)ormal file? n
45 getting changed largefiles
45 getting changed largefiles
46 0 largefiles updated, 0 removed
46 0 largefiles updated, 0 removed
47 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
47 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
48 (branch merge, don't forget to commit)
48 (branch merge, don't forget to commit)
49
49
50 $ hg status
50 $ hg status
51 $ cat foo
51 $ cat foo
52 normal
52 normal
53
53
54 Normal file in the working copy, keeping the largefile version:
54 Normal file in the working copy, keeping the largefile version:
55
55
56 $ hg update -q -C
56 $ hg update -q -C
57 $ echo "l" | hg merge --config ui.interactive=Yes
57 $ echo "l" | hg merge --config ui.interactive=Yes
58 remote turned local normal file foo into a largefile
58 remote turned local normal file foo into a largefile
59 use (l)argefile or keep (n)ormal file? l
59 use (l)argefile or keep (n)ormal file? l
60 getting changed largefiles
60 getting changed largefiles
61 1 largefiles updated, 0 removed
61 1 largefiles updated, 0 removed
62 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
62 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
63 (branch merge, don't forget to commit)
63 (branch merge, don't forget to commit)
64
64
65 $ hg status
65 $ hg status
66 M foo
66 M foo
67
67
68 $ hg diff --nodates
68 $ hg diff --nodates
69 diff -r fa129ab6b5a7 .hglf/foo
69 diff -r fa129ab6b5a7 .hglf/foo
70 --- /dev/null
70 --- /dev/null
71 +++ b/.hglf/foo
71 +++ b/.hglf/foo
72 @@ -0,0 +1,1 @@
72 @@ -0,0 +1,1 @@
73 +7f7097b041ccf68cc5561e9600da4655d21c6d18
73 +7f7097b041ccf68cc5561e9600da4655d21c6d18
74 diff -r fa129ab6b5a7 foo
74 diff -r fa129ab6b5a7 foo
75 --- a/foo
75 --- a/foo
76 +++ /dev/null
76 +++ /dev/null
77 @@ -1,1 +0,0 @@
77 @@ -1,1 +0,0 @@
78 -normal
78 -normal
79
79
80 $ cat foo
80 $ cat foo
81 large
81 large
82
82
83 Largefile in the working copy, keeping the normal version:
83 Largefile in the working copy, keeping the normal version:
84
84
85 $ hg update -q -C -r 1
85 $ hg update -q -C -r 1
86 $ echo "n" | hg merge --config ui.interactive=Yes
86 $ echo "n" | hg merge --config ui.interactive=Yes
87 remote turned local largefile foo into a normal file
87 remote turned local largefile foo into a normal file
88 keep (l)argefile or use (n)ormal file? n
88 keep (l)argefile or use (n)ormal file? n
89 getting changed largefiles
89 getting changed largefiles
90 0 largefiles updated, 0 removed
90 0 largefiles updated, 0 removed
91 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
91 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
92 (branch merge, don't forget to commit)
92 (branch merge, don't forget to commit)
93
93
94 $ hg status
94 $ hg status
95 M foo
95 M foo
96
96
97 $ hg diff --nodates
97 $ hg diff --nodates
98 diff -r ff521236428a .hglf/foo
98 diff -r ff521236428a .hglf/foo
99 --- a/.hglf/foo
99 --- a/.hglf/foo
100 +++ /dev/null
100 +++ /dev/null
101 @@ -1,1 +0,0 @@
101 @@ -1,1 +0,0 @@
102 -7f7097b041ccf68cc5561e9600da4655d21c6d18
102 -7f7097b041ccf68cc5561e9600da4655d21c6d18
103 diff -r ff521236428a foo
103 diff -r ff521236428a foo
104 --- /dev/null
104 --- /dev/null
105 +++ b/foo
105 +++ b/foo
106 @@ -0,0 +1,1 @@
106 @@ -0,0 +1,1 @@
107 +normal
107 +normal
108
108
109 $ cat foo
109 $ cat foo
110 normal
110 normal
111
111
112 Largefile in the working copy, keeping the largefile version:
112 Largefile in the working copy, keeping the largefile version:
113
113
114 $ hg update -q -C -r 1
114 $ hg update -q -C -r 1
115 $ echo "l" | hg merge --config ui.interactive=Yes
115 $ echo "l" | hg merge --config ui.interactive=Yes
116 remote turned local largefile foo into a normal file
116 remote turned local largefile foo into a normal file
117 keep (l)argefile or use (n)ormal file? l
117 keep (l)argefile or use (n)ormal file? l
118 getting changed largefiles
118 getting changed largefiles
119 1 largefiles updated, 0 removed
119 1 largefiles updated, 0 removed
120 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
120 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
121 (branch merge, don't forget to commit)
121 (branch merge, don't forget to commit)
122
122
123 $ hg status
123 $ hg status
124
124
125 $ cat foo
125 $ cat foo
126 large
126 large
127
127
128 Whatever ... commit something so we can invoke merge when updating
128 Whatever ... commit something so we can invoke merge when updating
129
129
130 $ hg commit -m '3: Merge'
130 $ hg commit -m '3: Merge'
131
131
132 Updating from largefile to normal - no reason to prompt
132 Updating from largefile to normal - no reason to prompt
133
133
134 $ hg up -r 2
134 $ hg up -r 2
135 getting changed largefiles
135 getting changed largefiles
136 0 largefiles updated, 0 removed
136 0 largefiles updated, 0 removed
137 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
137 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
138 $ cat foo
138 $ cat foo
139 normal
139 normal
140
140
141 (the update above used to leave the working dir in a very weird state - clean it
141 (the update above used to leave the working dir in a very weird state - clean it
142 $ hg up -qr null
142 $ hg up -qr null
143 $ hg up -qr 2
143 $ hg up -qr 2
144 )
144 )
145
145
146 Updating from normal to largefile - no reason to prompt
146 Updating from normal to largefile - no reason to prompt
147
147
148 $ hg up -r 3
148 $ hg up -r 3
149 getting changed largefiles
149 getting changed largefiles
150 1 largefiles updated, 0 removed
150 1 largefiles updated, 0 removed
151 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
151 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
152 $ cat foo
152 $ cat foo
153 large
153 large
154
154
155 $ cd ..
155 $ cd ..
156
156
157
157
158 Systematic testing of merges involving largefiles:
158 Systematic testing of merges involving largefiles:
159
159
160 Ancestor: normal Parent: normal-id Parent: large result: large
160 Ancestor: normal Parent: normal-id Parent: large result: large
161 Ancestor: normal Parent: normal2 Parent: large result: ?
161 Ancestor: normal Parent: normal2 Parent: large result: ?
162 Ancestor: large Parent: large-id Parent: normal result: normal
162 Ancestor: large Parent: large-id Parent: normal result: normal
163 Ancestor: large Parent: large2 Parent: normal result: ?
163 Ancestor: large Parent: large2 Parent: normal result: ?
164
164
165 All cases should try merging both ways.
165 All cases should try merging both ways.
166
166
167 Prepare test repo:
167 Prepare test repo:
168
168
169 $ hg init merges
169 $ hg init merges
170 $ cd merges
170 $ cd merges
171
171
172 prepare cases with "normal" ancestor:
172 prepare cases with "normal" ancestor:
173
173
174 $ hg up -qr null
174 $ hg up -qr null
175 $ echo normal > f
175 $ echo normal > f
176 $ hg ci -Aqm "normal-ancestor"
176 $ hg ci -Aqm "normal-ancestor"
177 $ hg tag -l "normal-ancestor"
177 $ hg tag -l "normal-ancestor"
178 $ touch f2
178 $ touch f2
179 $ hg ci -Aqm "normal-id"
179 $ hg ci -Aqm "normal-id"
180 $ hg tag -l "normal-id"
180 $ hg tag -l "normal-id"
181 $ echo normal2 > f
181 $ echo normal2 > f
182 $ hg ci -m "normal2"
182 $ hg ci -m "normal2"
183 $ hg tag -l "normal2"
183 $ hg tag -l "normal2"
184 $ echo normal > f
185 $ hg ci -Aqm "normal-same"
186 $ hg tag -l "normal-same"
184 $ hg up -qr "normal-ancestor"
187 $ hg up -qr "normal-ancestor"
185 $ hg rm f
188 $ hg rm f
186 $ echo large > f
189 $ echo large > f
187 $ hg add --large f
190 $ hg add --large f
188 $ hg ci -qm "large"
191 $ hg ci -qm "large"
189 $ hg tag -l "large"
192 $ hg tag -l "large"
190
193
191 prepare cases with "large" ancestor:
194 prepare cases with "large" ancestor:
192
195
193 $ hg up -qr null
196 $ hg up -qr null
194 $ echo large > f
197 $ echo large > f
195 $ hg add --large f
198 $ hg add --large f
196 $ hg ci -qm "large-ancestor"
199 $ hg ci -qm "large-ancestor"
197 $ hg tag -l "large-ancestor"
200 $ hg tag -l "large-ancestor"
198 $ touch f2
201 $ touch f2
199 $ hg ci -Aqm "large-id"
202 $ hg ci -Aqm "large-id"
200 $ hg tag -l "large-id"
203 $ hg tag -l "large-id"
201 $ echo large2 > f
204 $ echo large2 > f
202 $ hg ci -m "large2"
205 $ hg ci -m "large2"
203 $ hg tag -l "large2"
206 $ hg tag -l "large2"
207 $ echo large > f
208 $ hg ci -Aqm "large-same"
209 $ hg tag -l "large-same"
204 $ hg up -qr "large-ancestor"
210 $ hg up -qr "large-ancestor"
205 $ hg rm f
211 $ hg rm f
206 $ echo normal > f
212 $ echo normal > f
207 $ hg ci -qAm "normal"
213 $ hg ci -qAm "normal"
208 $ hg tag -l "normal"
214 $ hg tag -l "normal"
209
215
210 $ hg log -GT '{tags}'
216 $ hg log -GT '{tags}'
211 @ normal tip
217 @ normal tip
212 |
218 |
219 | o large-same
220 | |
213 | o large2
221 | o large2
214 | |
222 | |
215 | o large-id
223 | o large-id
216 |/
224 |/
217 o large-ancestor
225 o large-ancestor
218
226
219 o large
227 o large
220 |
228 |
229 | o normal-same
230 | |
221 | o normal2
231 | o normal2
222 | |
232 | |
223 | o normal-id
233 | o normal-id
224 |/
234 |/
225 o normal-ancestor
235 o normal-ancestor
226
236
227
237
228
238
229 Ancestor: normal Parent: normal-id Parent: large result: large
239 Ancestor: normal Parent: normal-id Parent: large result: large
230
240
231 $ hg up -Cqr normal-id
241 $ hg up -Cqr normal-id
232 $ hg merge -r large
242 $ hg merge -r large
233 getting changed largefiles
243 getting changed largefiles
234 1 largefiles updated, 0 removed
244 1 largefiles updated, 0 removed
235 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
245 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
236 (branch merge, don't forget to commit)
246 (branch merge, don't forget to commit)
237 $ cat f
247 $ cat f
238 large
248 large
239
249
240 swap
250 swap
241
251
242 $ hg up -Cqr large
252 $ hg up -Cqr large
243 $ hg merge -r normal-id
253 $ hg merge -r normal-id
244 getting changed largefiles
254 getting changed largefiles
245 0 largefiles updated, 0 removed
255 0 largefiles updated, 0 removed
246 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
256 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
247 (branch merge, don't forget to commit)
257 (branch merge, don't forget to commit)
248 $ cat f
258 $ cat f
249 large
259 large
250
260
261 Ancestor: normal Parent: normal-same Parent: large result: large
262
263 $ hg up -Cqr normal-same
264 $ hg merge -r large
265 local changed f which remote deleted
266 use (c)hanged version or (d)elete? c
267 remote turned local normal file f into a largefile
268 use (l)argefile or keep (n)ormal file? l
269 getting changed largefiles
270 1 largefiles updated, 0 removed
271 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
272 (branch merge, don't forget to commit)
273 $ cat f
274 large
275
276 swap
277
278 $ hg up -Cqr large
279 $ hg merge -r normal-same
280 remote changed f which local deleted
281 use (c)hanged version or leave (d)eleted? c
282 remote turned local largefile f into a normal file
283 keep (l)argefile or use (n)ormal file? l
284 getting changed largefiles
285 1 largefiles updated, 0 removed
286 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
287 (branch merge, don't forget to commit)
288 $ cat f
289 large
290
251 Ancestor: normal Parent: normal2 Parent: large result: ?
291 Ancestor: normal Parent: normal2 Parent: large result: ?
252 (annoying extra prompt ... but it do not do any serious harm)
292 (annoying extra prompt ... but it do not do any serious harm)
253
293
254 $ hg up -Cqr normal2
294 $ hg up -Cqr normal2
255 $ hg merge -r large
295 $ hg merge -r large
256 local changed f which remote deleted
296 local changed f which remote deleted
257 use (c)hanged version or (d)elete? c
297 use (c)hanged version or (d)elete? c
258 remote turned local normal file f into a largefile
298 remote turned local normal file f into a largefile
259 use (l)argefile or keep (n)ormal file? l
299 use (l)argefile or keep (n)ormal file? l
260 getting changed largefiles
300 getting changed largefiles
261 1 largefiles updated, 0 removed
301 1 largefiles updated, 0 removed
262 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
302 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
263 (branch merge, don't forget to commit)
303 (branch merge, don't forget to commit)
264 $ cat f
304 $ cat f
265 large
305 large
266
306
267 $ hg up -Cqr normal2
307 $ hg up -Cqr normal2
268 $ ( echo c; echo n ) | hg merge -r large --config ui.interactive=Yes
308 $ ( echo c; echo n ) | hg merge -r large --config ui.interactive=Yes
269 local changed f which remote deleted
309 local changed f which remote deleted
270 use (c)hanged version or (d)elete? c
310 use (c)hanged version or (d)elete? c
271 remote turned local normal file f into a largefile
311 remote turned local normal file f into a largefile
272 use (l)argefile or keep (n)ormal file? n
312 use (l)argefile or keep (n)ormal file? n
273 getting changed largefiles
313 getting changed largefiles
274 0 largefiles updated, 0 removed
314 0 largefiles updated, 0 removed
275 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
315 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
276 (branch merge, don't forget to commit)
316 (branch merge, don't forget to commit)
277 $ cat f
317 $ cat f
278 normal2
318 normal2
279
319
280 $ hg up -Cqr normal2
320 $ hg up -Cqr normal2
281 $ echo d | hg merge -r large --config ui.interactive=Yes
321 $ echo d | hg merge -r large --config ui.interactive=Yes
282 local changed f which remote deleted
322 local changed f which remote deleted
283 use (c)hanged version or (d)elete? d
323 use (c)hanged version or (d)elete? d
284 getting changed largefiles
324 getting changed largefiles
285 1 largefiles updated, 0 removed
325 1 largefiles updated, 0 removed
286 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
326 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
287 (branch merge, don't forget to commit)
327 (branch merge, don't forget to commit)
288 $ cat f
328 $ cat f
289 large
329 large
290
330
291 swap
331 swap
292
332
293 $ hg up -Cqr large
333 $ hg up -Cqr large
294 $ hg merge -r normal2
334 $ hg merge -r normal2
295 remote changed f which local deleted
335 remote changed f which local deleted
296 use (c)hanged version or leave (d)eleted? c
336 use (c)hanged version or leave (d)eleted? c
297 remote turned local largefile f into a normal file
337 remote turned local largefile f into a normal file
298 keep (l)argefile or use (n)ormal file? l
338 keep (l)argefile or use (n)ormal file? l
299 getting changed largefiles
339 getting changed largefiles
300 1 largefiles updated, 0 removed
340 1 largefiles updated, 0 removed
301 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
341 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
302 (branch merge, don't forget to commit)
342 (branch merge, don't forget to commit)
303 $ cat f
343 $ cat f
304 large
344 large
305
345
306 $ hg up -Cqr large
346 $ hg up -Cqr large
307 $ ( echo c; echo n ) | hg merge -r normal2 --config ui.interactive=Yes
347 $ ( echo c; echo n ) | hg merge -r normal2 --config ui.interactive=Yes
308 remote changed f which local deleted
348 remote changed f which local deleted
309 use (c)hanged version or leave (d)eleted? c
349 use (c)hanged version or leave (d)eleted? c
310 remote turned local largefile f into a normal file
350 remote turned local largefile f into a normal file
311 keep (l)argefile or use (n)ormal file? n
351 keep (l)argefile or use (n)ormal file? n
312 getting changed largefiles
352 getting changed largefiles
313 0 largefiles updated, 0 removed
353 0 largefiles updated, 0 removed
314 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
354 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
315 (branch merge, don't forget to commit)
355 (branch merge, don't forget to commit)
316 $ cat f
356 $ cat f
317 normal2
357 normal2
318
358
319 $ hg up -Cqr large
359 $ hg up -Cqr large
320 $ echo d | hg merge -r normal2 --config ui.interactive=Yes
360 $ echo d | hg merge -r normal2 --config ui.interactive=Yes
321 remote changed f which local deleted
361 remote changed f which local deleted
322 use (c)hanged version or leave (d)eleted? d
362 use (c)hanged version or leave (d)eleted? d
323 getting changed largefiles
363 getting changed largefiles
324 0 largefiles updated, 0 removed
364 0 largefiles updated, 0 removed
325 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
365 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
326 (branch merge, don't forget to commit)
366 (branch merge, don't forget to commit)
327 $ cat f
367 $ cat f
328 large
368 large
329
369
330 Ancestor: large Parent: large-id Parent: normal result: normal
370 Ancestor: large Parent: large-id Parent: normal result: normal
331
371
332 $ hg up -Cqr large-id
372 $ hg up -Cqr large-id
333 $ hg merge -r normal
373 $ hg merge -r normal
334 getting changed largefiles
374 getting changed largefiles
335 0 largefiles updated, 0 removed
375 0 largefiles updated, 0 removed
336 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
376 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
337 (branch merge, don't forget to commit)
377 (branch merge, don't forget to commit)
338 $ cat f
378 $ cat f
339 normal
379 normal
340
380
341 swap
381 swap
342
382
343 $ hg up -Cqr normal
383 $ hg up -Cqr normal
344 $ hg merge -r large-id
384 $ hg merge -r large-id
345 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
385 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
346 (branch merge, don't forget to commit)
386 (branch merge, don't forget to commit)
347 $ cat f
387 $ cat f
348 normal
388 normal
349
389
390 Ancestor: large Parent: large-same Parent: normal result: normal
391
392 $ hg up -Cqr large-same
393 $ hg merge -r normal
394 local changed .hglf/f which remote deleted
395 use (c)hanged version or (d)elete? c
396 remote turned local largefile f into a normal file
397 keep (l)argefile or use (n)ormal file? l
398 getting changed largefiles
399 1 largefiles updated, 0 removed
400 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
401 (branch merge, don't forget to commit)
402 $ cat f
403 large
404
405 swap
406
407 $ hg up -Cqr normal
408 $ hg merge -r large-same
409 remote changed .hglf/f which local deleted
410 use (c)hanged version or leave (d)eleted? c
411 remote turned local normal file f into a largefile
412 use (l)argefile or keep (n)ormal file? l
413 getting changed largefiles
414 1 largefiles updated, 0 removed
415 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
416 (branch merge, don't forget to commit)
417 $ cat f
418 large
419
350 Ancestor: large Parent: large2 Parent: normal result: ?
420 Ancestor: large Parent: large2 Parent: normal result: ?
351 (annoying extra prompt ... but it do not do any serious harm)
421 (annoying extra prompt ... but it do not do any serious harm)
352
422
353 $ hg up -Cqr large2
423 $ hg up -Cqr large2
354 $ hg merge -r normal
424 $ hg merge -r normal
355 local changed .hglf/f which remote deleted
425 local changed .hglf/f which remote deleted
356 use (c)hanged version or (d)elete? c
426 use (c)hanged version or (d)elete? c
357 remote turned local largefile f into a normal file
427 remote turned local largefile f into a normal file
358 keep (l)argefile or use (n)ormal file? l
428 keep (l)argefile or use (n)ormal file? l
359 getting changed largefiles
429 getting changed largefiles
360 1 largefiles updated, 0 removed
430 1 largefiles updated, 0 removed
361 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
431 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
362 (branch merge, don't forget to commit)
432 (branch merge, don't forget to commit)
363 $ cat f
433 $ cat f
364 large2
434 large2
365
435
366 $ hg up -Cqr large2
436 $ hg up -Cqr large2
367 $ echo d | hg merge -r normal --config ui.interactive=Yes
437 $ echo d | hg merge -r normal --config ui.interactive=Yes
368 local changed .hglf/f which remote deleted
438 local changed .hglf/f which remote deleted
369 use (c)hanged version or (d)elete? d
439 use (c)hanged version or (d)elete? d
370 getting changed largefiles
440 getting changed largefiles
371 0 largefiles updated, 0 removed
441 0 largefiles updated, 0 removed
372 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
442 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
373 (branch merge, don't forget to commit)
443 (branch merge, don't forget to commit)
374 $ cat f
444 $ cat f
375 normal
445 normal
376
446
377 swap
447 swap
378
448
379 $ hg up -Cqr normal
449 $ hg up -Cqr normal
380 $ hg merge -r large2
450 $ hg merge -r large2
381 remote changed .hglf/f which local deleted
451 remote changed .hglf/f which local deleted
382 use (c)hanged version or leave (d)eleted? c
452 use (c)hanged version or leave (d)eleted? c
383 remote turned local normal file f into a largefile
453 remote turned local normal file f into a largefile
384 use (l)argefile or keep (n)ormal file? l
454 use (l)argefile or keep (n)ormal file? l
385 getting changed largefiles
455 getting changed largefiles
386 1 largefiles updated, 0 removed
456 1 largefiles updated, 0 removed
387 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
457 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
388 (branch merge, don't forget to commit)
458 (branch merge, don't forget to commit)
389 $ cat f
459 $ cat f
390 large2
460 large2
391
461
392 $ hg up -Cqr normal
462 $ hg up -Cqr normal
393 $ echo d | hg merge -r large2 --config ui.interactive=Yes
463 $ echo d | hg merge -r large2 --config ui.interactive=Yes
394 remote changed .hglf/f which local deleted
464 remote changed .hglf/f which local deleted
395 use (c)hanged version or leave (d)eleted? d
465 use (c)hanged version or leave (d)eleted? d
396 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
466 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
397 (branch merge, don't forget to commit)
467 (branch merge, don't forget to commit)
398 $ cat f
468 $ cat f
399 normal
469 normal
400
470
401 $ cd ..
471 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now