changeset 2794:5595fb96d922

compat: use old style method to update bookmark The '_del' and '_set' method are new additions in 4.3 we should not use them in the compatibility layers.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 25 Jul 2017 04:19:55 +0200
parents fb317d218af0
children 0dc119ed06b4
files hgext3rd/evolve/compat.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/compat.py	Tue Jul 25 04:16:00 2017 +0200
+++ b/hgext3rd/evolve/compat.py	Tue Jul 25 04:19:55 2017 +0200
@@ -86,7 +86,7 @@
         return bookmarks.applychanges(repo, tr, changes)
     for name, node in changes:
         if node is None:
-            bookmarks._del(name)
+            del bookmarks[name]
         else:
-            bookmarks._set(name, node)
+            bookmarks[name] = node
     bookmarks.recordchange(tr)