Show More
@@ -1548,9 +1548,10 b' def movetopmostbookmarks(repo, oldtopmos' | |||||
1548 | if oldbmarks: |
|
1548 | if oldbmarks: | |
1549 | with repo.lock(), repo.transaction('histedit') as tr: |
|
1549 | with repo.lock(), repo.transaction('histedit') as tr: | |
1550 | marks = repo._bookmarks |
|
1550 | marks = repo._bookmarks | |
|
1551 | changes = [] | |||
1551 | for name in oldbmarks: |
|
1552 | for name in oldbmarks: | |
1552 |
|
|
1553 | changes.append((name, newtopmost)) | |
1553 |
marks. |
|
1554 | marks.applychanges(repo, tr, changes) | |
1554 |
|
1555 | |||
1555 | def cleanupnode(ui, repo, nodes): |
|
1556 | def cleanupnode(ui, repo, nodes): | |
1556 | """strip a group of nodes from the repository |
|
1557 | """strip a group of nodes from the repository |
General Comments 0
You need to be logged in to leave comments.
Login now