# HG changeset patch # User Martin von Zweigbergk # Date 1595397142 25200 # Node ID db0be4678399ffe744d3e6bd2ed028a7a78018a1 # Parent 4b923da0cb86f0e1ce3302b72471319c18bb4470 tests: add test for unqualified include of a built-in template map The feature was added in 081b08e4ea13 (templater: look for mapfiles in template paths, 2015-05-15), but no test case was added. Differential Revision: https://phab.mercurial-scm.org/D8797 diff -r 4b923da0cb86 -r db0be4678399 tests/test-template-map.t --- a/tests/test-template-map.t Wed Jul 22 22:09:38 2020 -0400 +++ b/tests/test-template-map.t Tue Jul 21 22:52:22 2020 -0700 @@ -125,6 +125,16 @@ date: Wed Jan 01 10:01:00 2020 +0000 summary: third +Test including a built-in template map + + $ cat <<'EOF' > map-include-builtin + > %include map-cmdline.default + > [templates] + > changeset = "{changeset_quiet}\n" + > EOF + $ hg log -l1 -T./map-include-builtin + 8:95c24699272e + Test docheader, docfooter and separator in template map