Mercurial > hg
diff tests/test-graft-interrupted.t @ 45010:c63a297fb964
graft: leverage cmdutil.check_incompatible_arguments() for --no-commit
Differential Revision: https://phab.mercurial-scm.org/D8668
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 25 Jun 2020 13:29:05 -0700 |
parents | 7d494425167c |
children | 6118ad07b98d |
line wrap: on
line diff
--- a/tests/test-graft-interrupted.t Thu Jun 25 13:27:37 2020 -0700 +++ b/tests/test-graft-interrupted.t Thu Jun 25 13:29:05 2020 -0700 @@ -553,15 +553,15 @@ Check reporting when --no-commit used with non-applicable options: $ hg graft 1 --no-commit -e - abort: cannot specify --no-commit and --edit together + abort: cannot specify both --no-commit and --edit [255] $ hg graft 1 --no-commit --log - abort: cannot specify --no-commit and --log together + abort: cannot specify both --no-commit and --log [255] $ hg graft 1 --no-commit -D - abort: cannot specify --no-commit and --currentdate together + abort: cannot specify both --no-commit and --currentdate [255] Test --no-commit is working: