equal
deleted
inserted
replaced
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) |