Show More
@@ -33,10 +33,6 b' def checkfctx(fctx, expr):' | |||
|
33 | 33 | ctx = fctx.changectx() |
|
34 | 34 | tree = fileset.parse(expr) |
|
35 | 35 | mctx = fileset.matchctx(ctx, subset=[fctx.path()], status=None) |
|
36 | repo = ctx.repo() | |
|
37 | # To allow matching file names in the fileset in hgweb directory mode. | |
|
38 | # See issue4568. | |
|
39 | object.__setattr__(repo, 'getcwd', lambda: repo.root) | |
|
40 | 36 | return fctx.path() in fileset.getset(mctx, tree) |
|
41 | 37 | |
|
42 | 38 | def filerevision_highlight(orig, web, req, tmpl, fctx): |
General Comments 0
You need to be logged in to leave comments.
Login now