587 repository tip rolled back to revision 1 (undo phabimport) |
587 repository tip rolled back to revision 1 (undo phabimport) |
588 $ hg phabimport --no-stack D7917 D7918 --test-vcr "$VCR/phabimport-multi-drev.json" |
588 $ hg phabimport --no-stack D7917 D7918 --test-vcr "$VCR/phabimport-multi-drev.json" |
589 applying patch from D7917 |
589 applying patch from D7917 |
590 applying patch from D7918 |
590 applying patch from D7918 |
591 |
591 |
|
592 Phabsend requires a linear range of commits |
|
593 |
|
594 $ hg phabsend -r 0+2+3 |
|
595 abort: cannot phabsend multiple head revisions: c44b38f24a45 |
|
596 (the revisions must form a linear chain) |
|
597 [255] |
|
598 |
592 Validate arguments with --fold |
599 Validate arguments with --fold |
593 |
600 |
594 $ hg phabsend --fold -r 1 |
601 $ hg phabsend --fold -r 1 |
595 abort: cannot fold a single revision |
602 abort: cannot fold a single revision |
596 [255] |
603 [255] |
597 $ hg phabsend --fold --no-amend -r 1:: |
604 $ hg phabsend --fold --no-amend -r 1:: |
598 abort: cannot fold with --no-amend |
605 abort: cannot fold with --no-amend |
599 [255] |
|
600 $ hg phabsend --fold -r 0+3 |
|
601 abort: cannot fold non-linear revisions |
|
602 [255] |
606 [255] |
603 $ hg phabsend --fold -r 1:: |
607 $ hg phabsend --fold -r 1:: |
604 abort: cannot fold revisions with different DREV values |
608 abort: cannot fold revisions with different DREV values |
605 [255] |
609 [255] |
606 |
610 |