Show More
@@ -489,7 +489,7 b' Copy a->b1 and a->b2, then rename b1->c ' | |||||
489 | $ hg add b |
|
489 | $ hg add b | |
490 | $ hg status |
|
490 | $ hg status | |
491 | A b |
|
491 | A b | |
492 | $ hg unc a |
|
492 | $ hg uncommit a | |
493 | note: keeping empty commit |
|
493 | note: keeping empty commit | |
494 | $ cat a |
|
494 | $ cat a | |
495 | super critical info! |
|
495 | super critical info! | |
@@ -503,11 +503,11 b' Copy a->b1 and a->b2, then rename b1->c ' | |||||
503 |
|
503 | |||
504 | $ hg ci -Am 'add b' |
|
504 | $ hg ci -Am 'add b' | |
505 | $ echo 'foo bar' > b |
|
505 | $ echo 'foo bar' > b | |
506 | $ hg unc b |
|
506 | $ hg uncommit b | |
507 | abort: uncommitted changes |
|
507 | abort: uncommitted changes | |
508 | (requires --allow-dirty-working-copy to uncommit) |
|
508 | (requires --allow-dirty-working-copy to uncommit) | |
509 | [255] |
|
509 | [255] | |
510 | $ hg unc --allow-dirty-working-copy b |
|
510 | $ hg uncommit --allow-dirty-working-copy b | |
511 | $ hg log |
|
511 | $ hg log | |
512 | changeset: 3:30fa958635b2 |
|
512 | changeset: 3:30fa958635b2 | |
513 | tag: tip |
|
513 | tag: tip |
General Comments 0
You need to be logged in to leave comments.
Login now