Mercurial > hg
comparison tests/test-template-graph.t @ 45895:fc4fb2f17dd4
errors: use exit code 10 for parse errors
Now that `ParseError`s raised while reading the config file has been
converted into `ConfigError`s, the remaining parse errors should all
be "input errors" (i.e. exit code 10), according to
https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan.
Differential Revision: https://phab.mercurial-scm.org/D9332
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 16 Nov 2020 16:00:50 -0800 |
parents | 67f757ed86e0 |
children |
comparison
equal
deleted
inserted
replaced
45894:9dc1351d0b5f | 45895:fc4fb2f17dd4 |
---|---|
379 | 379 |
380 Invalid arguments: | 380 Invalid arguments: |
381 | 381 |
382 $ hg log -T '{subsetparents()}\n' | 382 $ hg log -T '{subsetparents()}\n' |
383 hg: parse error: subsetparents expects two arguments | 383 hg: parse error: subsetparents expects two arguments |
384 [255] | 384 [10] |
385 $ hg log -T '{subsetparents("a")}\n' | 385 $ hg log -T '{subsetparents("a")}\n' |
386 hg: parse error: subsetparents expects two arguments | 386 hg: parse error: subsetparents expects two arguments |
387 [255] | 387 [10] |
388 $ hg log -T '{subsetparents(rev, extras)}\n' | 388 $ hg log -T '{subsetparents(rev, extras)}\n' |
389 hg: parse error: subsetparents expects a queried revset | 389 hg: parse error: subsetparents expects a queried revset |
390 [255] | 390 [10] |
391 | 391 |
392 $ cd .. | 392 $ cd .. |
393 | 393 |
394 subsetparents: p1/p2 order | 394 subsetparents: p1/p2 order |
395 ------------------------- | 395 ------------------------- |