mercurial/exchange.py
changeset 38604 2834ac06d5a9
parent 38000 7c05198cd1ca
child 38614 4d5fb4062f0b
--- a/mercurial/exchange.py	Sun Jul 08 19:05:00 2018 +0900
+++ b/mercurial/exchange.py	Sun Jul 08 18:52:28 2018 +0900
@@ -658,7 +658,7 @@
     ui.debug("checking for updated bookmarks\n")
     ancestors = ()
     if pushop.revs:
-        revnums = map(repo.changelog.rev, pushop.revs)
+        revnums = pycompat.maplist(repo.changelog.rev, pushop.revs)
         ancestors = repo.changelog.ancestors(revnums, inclusive=True)
 
     remotebookmark = listkeys(remote, 'bookmarks')