author | Boris Feld <boris.feld@octobus.net> |
Mon, 10 Jul 2017 17:28:53 +0200 | |
changeset 33486 | af402f11cb9d |
parent 33485 | 505021482541 |
child 33487 | a050d37c2c70 |
hgext/histedit.py | file | annotate | diff | comparison | revisions |
--- a/hgext/histedit.py Mon Jul 10 17:24:28 2017 +0200 +++ b/hgext/histedit.py Mon Jul 10 17:28:53 2017 +0200 @@ -1548,9 +1548,10 @@ if oldbmarks: with repo.lock(), repo.transaction('histedit') as tr: marks = repo._bookmarks + changes = [] for name in oldbmarks: - marks[name] = newtopmost - marks.recordchange(tr) + changes.append((name, newtopmost)) + marks.applychanges(repo, tr, changes) def cleanupnode(ui, repo, nodes): """strip a group of nodes from the repository