# HG changeset patch # User Pierre-Yves David # Date 1500949195 -7200 # Node ID 5595fb96d922fbfd740eca6557c09708a17098c3 # Parent fb317d218af07d10577446d68fee57b876c7a817 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. diff -r fb317d218af0 -r 5595fb96d922 hgext3rd/evolve/compat.py --- 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)