Patchwork D7748: hgweb: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 10:02 p.m.
Message ID <44e876e3098f577691fae8ffd013c349@localhost.localdomain>
Download mbox | patch
Permalink /patch/44090/
State Not Applicable
Headers show

Comments

phabricator - Dec. 27, 2019, 10:02 p.m.
Closed by commit rHG3e4294aa7944: hgweb: drop an unused variable assignment (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7748?vs=18964&id=18979

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7748/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7748

AFFECTED FILES
  mercurial/hgweb/webcommands.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -1268,7 +1268,6 @@ 
     name = b"%s-%s" % (reponame, arch_version)
 
     ctx = webutil.changectx(web.repo, web.req)
-    pats = []
     match = scmutil.match(ctx, [])
     file = web.req.qsparams.get(b'file')
     if file: