[PATCH 1 of 4 py3] maplist: replace instances of map() with pycompat.maplist() [1 of 4]

Yuya Nishihara yuya at tcha.org
Fri Mar 24 11:49:05 EDT 2017


On Fri, 24 Mar 2017 21:00:24 +0530, Pulkit Goyal wrote:
> This series is a part of fixing things which we already know will lead to
> exception or wrong result. So instead of waiting for those exceptions to
> pop up, it fixes them. It fixes all the occurrences in mercurial/ (couple
> of occurrences are left where using maplist was not required).

Not all map() are needed to be converted to maplist(). If we don't want to
sort out them, we can simply redirect map to maplist by importer.


More information about the Mercurial-devel mailing list