Submitter | Yuya Nishihara |
---|---|
Date | April 10, 2018, 3:41 p.m. |
Message ID | <42132043359a74ab3d70.1523374895@mimosa> |
Download | mbox | patch |
Permalink | /patch/30633/ |
State | Accepted |
Headers | show |
Comments
Patch
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 @@ -31,6 +31,7 @@ from .. import ( repoview, templatefilters, templater, + templateutil, ui as uimod, util, wireprotoserver, @@ -80,7 +81,7 @@ def makebreadcrumb(url, prefix=''): break breadcrumb.append({'url': urlel, 'name': pathel}) urlel = os.path.dirname(urlel) - return reversed(breadcrumb) + return templateutil.mappinglist(reversed(breadcrumb)) class requestcontext(object): """Holds state/context for an individual request.