# HG changeset patch # User Laurent Charignon # Date 1449785847 28800 # Node ID 0ff262537f984cc869a63cd2e76c74bb0a7dcbdb # Parent 59f5bb1f1877e8e131642db6582ad8a50c02873e prune: use bookmarks.recordchange instead of bookmarks.write Before this patch we were using the deprecated bookmarks.write instead of bookmarks.recordchange in prune diff -r 59f5bb1f1877 -r 0ff262537f98 hgext/evolve.py --- a/hgext/evolve.py Fri Dec 11 10:49:29 2015 +0000 +++ b/hgext/evolve.py Thu Dec 10 14:17:27 2015 -0800 @@ -2402,7 +2402,7 @@ if movebookmark: bmdeactivate(repo) repo._bookmarks[bookactive] = newnode.node() - repo._bookmarks.write() + repo._bookmarks.recordchange(tr) commands.update(ui, repo, newnode.rev()) ui.status(_('working directory now at %s\n') % newnode) if movebookmark: