mercurial/exchange.py
branchstable
changeset 23081 e62c330a044f
parent 23047 f10019d2ee0a
child 23082 0fc4686de1d7
equal deleted inserted replaced
23080:c586cb50872b 23081:e62c330a044f
   331     remotebookmark = remote.listkeys('bookmarks')
   331     remotebookmark = remote.listkeys('bookmarks')
   332 
   332 
   333     explicit = set(pushop.bookmarks)
   333     explicit = set(pushop.bookmarks)
   334 
   334 
   335     comp = bookmod.compare(repo, repo._bookmarks, remotebookmark, srchex=hex)
   335     comp = bookmod.compare(repo, repo._bookmarks, remotebookmark, srchex=hex)
   336     addsrc, adddst, advsrc, advdst, diverge, differ, invalid = comp
   336     addsrc, adddst, advsrc, advdst, diverge, differ, invalid, same = comp
   337     for b, scid, dcid in advsrc:
   337     for b, scid, dcid in advsrc:
   338         if b in explicit:
   338         if b in explicit:
   339             explicit.remove(b)
   339             explicit.remove(b)
   340         if not ancestors or repo[scid].rev() in ancestors:
   340         if not ancestors or repo[scid].rev() in ancestors:
   341             pushop.outbookmarks.append((b, dcid, scid))
   341             pushop.outbookmarks.append((b, dcid, scid))