Mercurial > public > mercurial-scm > hg-stable
diff tests/test-commit.t @ 48418:45a073af50a2
errors: use detailed error for invalid commit-extras argument
Differential Revision: https://phab.mercurial-scm.org/D11831
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 22 Nov 2021 17:21:55 -0800 |
parents | 35f1ecd84bd0 |
children | 42d2b31cee0b |
line wrap: on
line diff
--- a/tests/test-commit.t Fri Nov 19 16:21:00 2021 -0800 +++ b/tests/test-commit.t Mon Nov 22 17:21:55 2021 -0800 @@ -134,13 +134,13 @@ $ hg add quux $ hg commit -m "adding internal used extras" --extra amend_source=hash abort: key 'amend_source' is used internally, can't be set manually - [255] + [10] $ hg commit -m "special chars in extra" --extra id@phab=214 abort: keys can only contain ascii letters, digits, '_' and '-' - [255] + [10] $ hg commit -m "empty key" --extra =value abort: unable to parse '=value', keys can't be empty - [255] + [10] $ hg commit -m "adding extras" --extra sourcehash=foo --extra oldhash=bar $ hg log -r . -T '{extras % "{extra}\n"}' branch=default