mercurial/hgweb/hgwebdir_mod.py
changeset 18258 bebb05a7e249
parent 18206 2c1276825e93
child 18515 bf8bbbf4aa45
--- a/mercurial/hgweb/hgwebdir_mod.py	Tue Jan 08 04:15:46 2013 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Wed Nov 28 20:21:26 2012 +0100
@@ -12,7 +12,7 @@
 from mercurial import error, encoding
 from common import ErrorResponse, get_mtime, staticfile, paritygen, \
                    get_contact, HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR
-from hgweb_mod import hgweb
+from hgweb_mod import hgweb, makebreadcrumb
 from request import wsgirequest
 import webutil
 
@@ -395,6 +395,7 @@
         self.updatereqenv(req.env)
 
         return tmpl("index", entries=entries, subdir=subdir,
+                    pathdef=makebreadcrumb('/' + subdir),
                     sortcolumn=sortcolumn, descending=descending,
                     **dict(sort))