Mercurial > hg
diff mercurial/hgweb/webutil.py @ 41676:0531dff73d0b
match: delete unused root and cwd arguments from {always,never,exact}() (API)
Differential Revision: https://phab.mercurial-scm.org/D5930
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 09 Feb 2019 22:50:53 -0800 |
parents | e834f6f6f221 |
children | 832c59d1196e |
line wrap: on
line diff
--- 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)