Mercurial > hg
comparison tests/test-mq-qpush-fail.t @ 16655:6ca125af882f
mq: introduce qgoto --check
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sat, 12 May 2012 00:19:30 +0200 |
parents | 490ed8972f1b |
children | 4ae3ba9e4d7a |
comparison
equal
deleted
inserted
replaced
16654:490ed8972f1b | 16655:6ca125af882f |
---|---|
366 $ hg st b | 366 $ hg st b |
367 M b | 367 M b |
368 $ cat b | 368 $ cat b |
369 b | 369 b |
370 b | 370 b |
371 | |
372 test qgoto --check | |
373 | |
374 $ hg revert -aq b | |
375 $ rm e | |
376 $ hg qgoto --check --force p3 | |
377 abort: cannot use both --force and --check | |
378 [255] | |
379 $ echo a >> a | |
380 $ hg qgoto --check p3 | |
381 applying p3 | |
382 now at: p3 | |
383 $ hg st a | |
384 M a | |
385 $ hg qgoto --check p2 | |
386 popping p3 | |
387 now at: p2 | |
388 $ hg st a | |
389 M a |