diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -484,6 +484,7 @@ class hgweb(object):
node=hex(node),
path=abspath,
up=_up(abspath),
+ upparity=self.stripes(0),
fentries=filelist,
dentries=dirlist,
archives=self.archivelist(hex(node)))
diff --git a/templates/gitweb/manifest.tmpl b/templates/gitweb/manifest.tmpl
--- a/templates/gitweb/manifest.tmpl
+++ b/templates/gitweb/manifest.tmpl
@@ -20,7 +20,7 @@ manifest |
#path|escape#
-
+
drwxr-xr-x |
|
[up] |
diff --git a/templates/manifest.tmpl b/templates/manifest.tmpl
--- a/templates/manifest.tmpl
+++ b/templates/manifest.tmpl
@@ -14,7 +14,7 @@
manifest for changeset #node|short#: #path|escape#