changeset 44009 | e685fac56693 |
parent 43077 | 687b865b95ad |
child 48875 | 6000f5b25c9b |
--- a/hgext/highlight/__init__.py Thu Dec 12 14:28:31 2019 -0800 +++ b/hgext/highlight/__init__.py Fri Dec 06 20:40:02 2019 -0500 @@ -52,7 +52,7 @@ filenameonly = web.configbool(b'web', b'highlightonlymatchfilename', False) ctx = fctx.changectx() - m = ctx.matchfileset(expr) + m = ctx.matchfileset(fctx.repo().root, expr) if m(fctx.path()): highlight.pygmentize( field, fctx, style, tmpl, guessfilenameonly=filenameonly