D7748: hgweb: drop an unused variable assignment

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Fri Dec 27 17:02:55 EST 2019


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

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:



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


More information about the Mercurial-devel mailing list