mercurial/exchange.py
changeset 38604 2834ac06d5a9
parent 38000 7c05198cd1ca
child 38614 4d5fb4062f0b
equal deleted inserted replaced
38603:4df549d0f1fd 38604:2834ac06d5a9
   656     repo = pushop.repo.unfiltered()
   656     repo = pushop.repo.unfiltered()
   657     remote = pushop.remote
   657     remote = pushop.remote
   658     ui.debug("checking for updated bookmarks\n")
   658     ui.debug("checking for updated bookmarks\n")
   659     ancestors = ()
   659     ancestors = ()
   660     if pushop.revs:
   660     if pushop.revs:
   661         revnums = map(repo.changelog.rev, pushop.revs)
   661         revnums = pycompat.maplist(repo.changelog.rev, pushop.revs)
   662         ancestors = repo.changelog.ancestors(revnums, inclusive=True)
   662         ancestors = repo.changelog.ancestors(revnums, inclusive=True)
   663 
   663 
   664     remotebookmark = listkeys(remote, 'bookmarks')
   664     remotebookmark = listkeys(remote, 'bookmarks')
   665 
   665 
   666     explicit = set([repo._bookmarks.expandname(bookmark)
   666     explicit = set([repo._bookmarks.expandname(bookmark)