diff -r b779b40f996e -r 588b3484c131 tests/test-amend.t --- a/tests/test-amend.t Fri Dec 06 14:01:29 2019 +0100 +++ b/tests/test-amend.t Sun Sep 29 11:47:18 2019 +0530 @@ -165,3 +165,8 @@ -i --interactive use interactive mode (some details hidden, use --verbose to show complete help) + +Check that we abort if --patch and --extract both are used at once + $ hg amend --patch --extract + abort: cannot use both --patch and --extract + [255]