[PATCH 1 of 2] monoblue: don't try to show repo on hgwebdir index page

Anton Shestakov av6 at dwimlabs.net
Tue Jul 7 23:28:50 CDT 2015


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1436116943 -28800
#      Mon Jul 06 01:22:23 2015 +0800
# Node ID a3285457998bf5c03425c46609d9d77105bb2037
# Parent  3948cb4d0ae70e7257e47e2fd9f657c0c1af7c2b
monoblue: don't try to show repo on hgwebdir index page

Index page shows a list of accessible repositories, it doesn't have a
single-repo context.

diff --git a/mercurial/templates/monoblue/index.tmpl b/mercurial/templates/monoblue/index.tmpl
--- a/mercurial/templates/monoblue/index.tmpl
+++ b/mercurial/templates/monoblue/index.tmpl
@@ -1,5 +1,5 @@
 {header}
-    <title>{repo|escape}: Mercurial repositories index</title>
+    <title>Mercurial repositories index</title>
 </head>
 
 <body>


More information about the Mercurial-devel mailing list