##// 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
@@ -181,6 +181,9 b' prepare cases with "normal" ancestor:'
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
@@ -201,6 +204,9 b' prepare cases with "large" ancestor:'
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
@@ -210,6 +216,8 b' prepare cases with "large" ancestor:'
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
@@ -218,6 +226,8 b' prepare cases with "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
@@ -248,6 +258,36 b' swap'
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
@@ -347,6 +387,36 b' swap'
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
General Comments 0
You need to be logged in to leave comments. Login now