prune: use bookmarks.recordchange instead of bookmarks.write
Before this patch we were using the deprecated bookmarks.write instead of
bookmarks.recordchange in prune
--- 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: