# HG changeset patch # User Matt Mackall # Date 2012-07-29 16:08:45 # Node ID 323de4f49bd1f037eaa39400c4beef7733fab2c0 # Parent eac3f9c2f9c5bfdf25296c2bdd61b0eb42c90c5b hgweb: avoid traceback if raw is used as default style Spotted by Angel Ezquerra. diff --git a/mercurial/templates/raw/map b/mercurial/templates/raw/map --- a/mercurial/templates/raw/map +++ b/mercurial/templates/raw/map @@ -1,3 +1,5 @@ +default = 'shortlog' +shortlog = "'raw' is not a browsable style" mimetype = 'text/plain; charset={encoding}' header = '' footer = ''