hgweb: avoid traceback if raw is used as default style stable
authorMatt Mackall <mpm@selenic.com>
Sun, 29 Jul 2012 11:08:45 -0500
branchstable
changeset 17277 323de4f49bd1
parent 17276 eac3f9c2f9c5
child 17278 ef5d70655143
hgweb: avoid traceback if raw is used as default style Spotted by Angel Ezquerra.
mercurial/templates/raw/map
--- a/mercurial/templates/raw/map	Sat Jul 28 22:55:01 2012 +0200
+++ b/mercurial/templates/raw/map	Sun Jul 29 11:08:45 2012 -0500
@@ -1,3 +1,5 @@
+default = 'shortlog'
+shortlog = "'raw' is not a browsable style"
 mimetype = 'text/plain; charset={encoding}'
 header = ''
 footer = ''