equal
deleted
inserted
replaced
480 $ hg add b |
480 $ hg add b |
481 $ hg status |
481 $ hg status |
482 A b |
482 A b |
483 $ hg unc a |
483 $ hg unc a |
484 note: keeping empty commit |
484 note: keeping empty commit |
485 $ hg unc b |
|
486 abort: uncommitted changes |
|
487 (requires --allow-dirty-working-copy to uncommit) |
|
488 [255] |
|
489 $ cat a |
485 $ cat a |
490 super critical info! |
486 super critical info! |
491 $ hg log |
487 $ hg log |
492 changeset: 1:656ba143d384 |
488 changeset: 1:656ba143d384 |
493 tag: tip |
489 tag: tip |
496 date: Thu Jan 01 00:00:00 1970 +0000 |
492 date: Thu Jan 01 00:00:00 1970 +0000 |
497 summary: add a |
493 summary: add a |
498 |
494 |
499 $ hg ci -Am 'add b' |
495 $ hg ci -Am 'add b' |
500 $ echo 'foo bar' > b |
496 $ echo 'foo bar' > b |
|
497 $ hg unc b |
|
498 abort: uncommitted changes |
|
499 (requires --allow-dirty-working-copy to uncommit) |
|
500 [255] |
501 $ hg unc --allow-dirty-working-copy b |
501 $ hg unc --allow-dirty-working-copy b |
502 $ hg log |
502 $ hg log |
503 changeset: 3:30fa958635b2 |
503 changeset: 3:30fa958635b2 |
504 tag: tip |
504 tag: tip |
505 parent: 1:656ba143d384 |
505 parent: 1:656ba143d384 |