diff mercurial/bundle2.py @ 35811:e35320ce8043 stable

bookmarks: fix pushkey compatibility mode (issue5777) The namespace used for the compatibility mode was missing a trailing 's'.
author Boris Feld <boris.feld@octobus.net>
date Tue, 30 Jan 2018 22:27:45 +0100
parents 2d3e486d09d0
children 768326377e4d
line wrap: on
line diff
--- a/mercurial/bundle2.py	Tue Jan 30 20:32:48 2018 -0800
+++ b/mercurial/bundle2.py	Tue Jan 30 22:27:45 2018 +0100
@@ -2033,7 +2033,7 @@
             for book, node in changes:
                 hookargs = tr.hookargs.copy()
                 hookargs['pushkeycompat'] = '1'
-                hookargs['namespace'] = 'bookmark'
+                hookargs['namespace'] = 'bookmarks'
                 hookargs['key'] = book
                 hookargs['old'] = nodemod.hex(bookstore.get(book, ''))
                 hookargs['new'] = nodemod.hex(node if node is not None else '')