changeset 17277:323de4f49bd1 stable

hgweb: avoid traceback if raw is used as default style Spotted by Angel Ezquerra.
author Matt Mackall <mpm@selenic.com>
date Sun, 29 Jul 2012 11:08:45 -0500
parents eac3f9c2f9c5
children ef5d70655143
files mercurial/templates/raw/map
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 = ''