equal
deleted
inserted
replaced
429 working directory now based on revision 0 |
429 working directory now based on revision 0 |
430 $ hg --cwd b parents --template 'parent: {rev}\n' |
430 $ hg --cwd b parents --template 'parent: {rev}\n' |
431 parent: 0 |
431 parent: 0 |
432 |
432 |
433 Test that "hg rollback" doesn't restore dirstate to one at the |
433 Test that "hg rollback" doesn't restore dirstate to one at the |
434 beginning of the rollbacked transaction in not-"parent-gone" case. |
434 beginning of the rolled back transaction in not-"parent-gone" case. |
435 |
435 |
436 invoking pretxncommit hook will cause marking '.hg/dirstate' as a file |
436 invoking pretxncommit hook will cause marking '.hg/dirstate' as a file |
437 to be restored at rollbacking, after DirstateTransactionPlan (see wiki |
437 to be restored when rolling back, after DirstateTransactionPlan (see wiki |
438 page for detail). |
438 page for detail). |
439 |
439 |
440 $ hg --cwd b branch -q foobar |
440 $ hg --cwd b branch -q foobar |
441 $ hg --cwd b commit -m foobar |
441 $ hg --cwd b commit -m foobar |
442 $ hg --cwd b update 0 -q |
442 $ hg --cwd b update 0 -q |
449 parent: 1 |
449 parent: 1 |
450 |
450 |
451 $ hg --cwd b update -q -C 0 |
451 $ hg --cwd b update -q -C 0 |
452 $ hg --cwd b --config extensions.strip= strip -q 1 |
452 $ hg --cwd b --config extensions.strip= strip -q 1 |
453 |
453 |
454 Test visibility of in-memory distate changes inside transaction to |
454 Test visibility of in-memory dirstate changes inside transaction to |
455 external process |
455 external process |
456 |
456 |
457 $ echo foo > a/foo |
457 $ echo foo > a/foo |
458 $ hg --cwd a commit -A -m 'adding foo' foo |
458 $ hg --cwd a commit -A -m 'adding foo' foo |
459 $ hg --cwd a export -o '../patch%R' 3 |
459 $ hg --cwd a export -o '../patch%R' 3 |