mercurial/scmutil.py
changeset 38575 152f4822d210
parent 38503 077301ac69dc
child 38605 85c74c5a1590
equal deleted inserted replaced
38574:f442c9494ec7 38575:152f4822d210
   863             oldbmarks = repo.nodebookmarks(oldnode)
   863             oldbmarks = repo.nodebookmarks(oldnode)
   864             if not oldbmarks:
   864             if not oldbmarks:
   865                 continue
   865                 continue
   866             from . import bookmarks # avoid import cycle
   866             from . import bookmarks # avoid import cycle
   867             repo.ui.debug('moving bookmarks %r from %s to %s\n' %
   867             repo.ui.debug('moving bookmarks %r from %s to %s\n' %
   868                           (util.rapply(pycompat.maybebytestr, oldbmarks),
   868                           (pycompat.rapply(pycompat.maybebytestr, oldbmarks),
   869                            hex(oldnode), hex(newnode)))
   869                            hex(oldnode), hex(newnode)))
   870             # Delete divergent bookmarks being parents of related newnodes
   870             # Delete divergent bookmarks being parents of related newnodes
   871             deleterevs = repo.revs('parents(roots(%ln & (::%n))) - parents(%n)',
   871             deleterevs = repo.revs('parents(roots(%ln & (::%n))) - parents(%n)',
   872                                    allnewnodes, newnode, oldnode)
   872                                    allnewnodes, newnode, oldnode)
   873             deletenodes = _containsnode(repo, deleterevs)
   873             deletenodes = _containsnode(repo, deleterevs)