[Updated] D8857: packaging: delete unnecessary updating of `dirs` list

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sun Aug 2 16:34:59 UTC 2020


Closed by commit rHGa102f61a917e: packaging: delete unnecessary updating of `dirs` list (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8857?vs=22167&id=22192

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

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

AFFECTED FILES
  setup.py

CHANGE DETAILS

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1631,7 +1631,6 @@
 for root in ('templates',):
     for curdir, dirs, files in os.walk(os.path.join('mercurial', root)):
         curdir = curdir.split(os.sep, 1)[1]
-        dirs[:] = filter(ordinarypath, dirs)
         for f in filter(ordinarypath, files):
             f = os.path.join(curdir, f)
             packagedata['mercurial'].append(f)



To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200802/ff5948cd/attachment-0002.html>


More information about the Mercurial-patches mailing list