Mercurial > evolve
changeset 1555:0ff262537f98
prune: use bookmarks.recordchange instead of bookmarks.write
Before this patch we were using the deprecated bookmarks.write instead of
bookmarks.recordchange in prune
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Thu, 10 Dec 2015 14:17:27 -0800 |
parents | 59f5bb1f1877 |
children | 4f008b8acda7 |
files | hgext/evolve.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: