[Updated] D8803: tests: show unusual error message for `hg log --style coal`
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sun Aug 2 16:07:52 UTC 2020
Closed by commit rHG46c8db8d4e03: tests: show unusual error message for `hg log --style coal` (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8803?vs=22083&id=22180
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8803/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8803
AFFECTED FILES
tests/test-template-map.t
CHANGE DETAILS
diff --git a/tests/test-template-map.t b/tests/test-template-map.t
--- a/tests/test-template-map.t
+++ b/tests/test-template-map.t
@@ -1281,6 +1281,12 @@
abort: Is a directory: 'somedir'
[255]
+Error if style is a directory whose name is a built-in style:
+
+ $ hg log --style coal
+ abort: Is a directory: '*/mercurial/templates/coal' (glob)
+ [255]
+
Error if style missing key:
$ echo 'q = q' > t
To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200802/2f8d8242/attachment-0002.html>
More information about the Mercurial-patches
mailing list