remotefilelog: use list comprehension instead of filter for py3 portability
Differential Revision: https://phab.mercurial-scm.org/D5605
--- a/hgext/remotefilelog/repack.py Wed Jan 16 10:59:32 2019 -0500
+++ b/hgext/remotefilelog/repack.py Wed Jan 16 11:00:10 2019 -0500
@@ -481,7 +481,7 @@
else:
parent = orphans[i - 1]
deltabases[node] = (parent, deltabases[parent][1] + 1)
- nodes = filter(lambda node: node not in orphans, nodes)
+ nodes = [n for n in nodes if n not in orphans]
nodes += orphans
return nodes