##// END OF EJS Templates
py3: fix revnums in bookmark discovery to be consumable more than once
Yuya Nishihara -
r38623:2834ac06 default
parent child Browse files
Show More
@@ -658,7 +658,7 b' def _pushdiscoverybookmarks(pushop):'
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')
General Comments 0
You need to be logged in to leave comments. Login now