equal
deleted
inserted
replaced
607 > echo "Diff and status after rebuild:" |
607 > echo "Diff and status after rebuild:" |
608 > hg diff |
608 > hg diff |
609 > hg status |
609 > hg status |
610 > fi |
610 > fi |
611 OK. |
611 OK. |
|
612 |
|
613 Amending a commit that has copies but not specifying those copies shouldn't |
|
614 cause them to be lost |
|
615 |
|
616 $ cd $TESTTMP |
|
617 $ hg init dont-lose-copies; cd dont-lose-copies |
|
618 $ echo r0 > r0; hg commit -qAm "r0" |
|
619 $ hg cp r0 r0_copied; hg commit -qm "copy r0" |
|
620 $ echo hi > new_file_amend_me |
|
621 $ hg status --change . --copies |
|
622 A r0_copied |
|
623 r0 |
|
624 $ hg amend -qA new_file_amend_me |
|
625 $ hg status --change . --copies |
|
626 A new_file_amend_me |
|
627 A r0_copied |
|
628 r0 (missing-correct-output !) |