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

login
register
mail settings
Submitter Anton Shestakov
Date July 8, 2015, 4:28 a.m.
Message ID <a3285457998bf5c03425.1436329730@neuro>
Download mbox | patch
Permalink /patch/9914/
State Accepted
Headers show

Comments

Anton Shestakov - July 8, 2015, 4:28 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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.

Patch

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>