mercurial/hgweb/webutil.py
changeset 41676 0531dff73d0b
parent 41618 e834f6f6f221
child 42337 832c59d1196e
--- a/mercurial/hgweb/webutil.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/mercurial/hgweb/webutil.py	Sat Feb 09 22:50:53 2019 -0800
@@ -565,9 +565,9 @@
 def _diffsgen(context, repo, ctx, basectx, files, style, stripecount,
               linerange, lineidprefix):
     if files:
-        m = match.exact(repo.root, repo.getcwd(), files)
+        m = match.exact(files)
     else:
-        m = match.always(repo.root, repo.getcwd())
+        m = match.always()
 
     diffopts = patch.diffopts(repo.ui, untrusted=True)
     parity = paritygen(stripecount)