Patchwork D6771: py3: use pycompat.maplist() in chgserver

login
register
mail settings
Submitter phabricator
Date Aug. 29, 2019, 8:21 a.m.
Message ID <a7215030ec24903e4a4ee3cec6bbb8a6@localhost.localdomain>
Download mbox | patch
Permalink /patch/41425/
State Not Applicable
Headers show

Comments

phabricator - Aug. 29, 2019, 8:21 a.m.
Closed by commit rHG0cbe17335857: py3: use pycompat.maplist() in chgserver (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/D6771?vs=16332&id=16333

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

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

AFFECTED FILES
  mercurial/chgserver.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
--- a/mercurial/chgserver.py
+++ b/mercurial/chgserver.py
@@ -172,7 +172,7 @@ 
         except OSError:
             # could be ENOENT, EPERM etc. not fatal in any case
             pass
-    return _hashlist(map(trystat, paths))[:12]
+    return _hashlist(pycompat.maplist(trystat, paths))[:12]
 
 class hashstate(object):
     """a structure storing confighash, mtimehash, paths used for mtimehash"""