Show More
@@ -627,6 +627,26 b' refuse to push unstable changeset' | |||||
627 | abort: push includes orphan changeset: cda648ca50f5! |
|
627 | abort: push includes orphan changeset: cda648ca50f5! | |
628 | [255] |
|
628 | [255] | |
629 |
|
629 | |||
|
630 | with --force it will work anyway | |||
|
631 | ||||
|
632 | $ hg push ../tmpc/ --force | |||
|
633 | pushing to ../tmpc/ | |||
|
634 | searching for changes | |||
|
635 | adding changesets | |||
|
636 | adding manifests | |||
|
637 | adding file changes | |||
|
638 | added 2 changesets with 2 changes to 2 files | |||
|
639 | 1 new obsolescence markers | |||
|
640 | 1 new orphan changesets | |||
|
641 | ||||
|
642 | if the orphan changeset is already on the server, pushing should work | |||
|
643 | ||||
|
644 | $ hg push ../tmpc/ | |||
|
645 | pushing to ../tmpc/ | |||
|
646 | searching for changes | |||
|
647 | no changes found | |||
|
648 | [1] | |||
|
649 | ||||
630 | Test that extinct changeset are properly detected |
|
650 | Test that extinct changeset are properly detected | |
631 |
|
651 | |||
632 | $ hg log -r 'extinct()' |
|
652 | $ hg log -r 'extinct()' |
General Comments 0
You need to be logged in to leave comments.
Login now