Mercurial > hg
view mercurial/templates/coal/map @ 26283:c450265b5611
coal: reuse all templates from paper/map by %including the file
Before, coal/map simply had all the templates copied and pasted from paper/map
file. It was easy to make a change to paper that would get into coal only
partially and just sit there until something like 399e970e35c8 happened.
Let's remove this duplication from coal/map by using %include to reuse
templates from paper/map directly.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 18 Sep 2015 01:06:27 +0800 |
parents | 399e970e35c8 |
children | 5f86818c95e5 |
line wrap: on
line source
%include paper/map footer = ../paper/footer.tmpl search = ../paper/search.tmpl changelog = ../paper/shortlog.tmpl shortlog = ../paper/shortlog.tmpl shortlogentry = ../paper/shortlogentry.tmpl graph = ../paper/graph.tmpl help = ../paper/help.tmpl helptopics = ../paper/helptopics.tmpl diffstatlink = ../paper/diffstat.tmpl diffstatnolink = ../paper/diffstat.tmpl changelogentry = ../paper/shortlogentry.tmpl searchentry = ../paper/shortlogentry.tmpl changeset = ../paper/changeset.tmpl manifest = ../paper/manifest.tmpl filerevision = ../paper/filerevision.tmpl fileannotate = ../paper/fileannotate.tmpl filediff = ../paper/filediff.tmpl filecomparison = ../paper/filecomparison.tmpl filelog = ../paper/filelog.tmpl filelogentry = ../paper/filelogentry.tmpl tags = ../paper/tags.tmpl bookmarks = ../paper/bookmarks.tmpl branches = ../paper/branches.tmpl index = ../paper/index.tmpl notfound = ../paper/notfound.tmpl error = ../paper/error.tmpl