mercurial/bookmarks.py
changeset 46780 6266d19556ad
parent 45942 89a2afe31e82
child 46907 ffd3e823a7e5
--- a/mercurial/bookmarks.py	Wed Mar 10 18:09:21 2021 +0100
+++ b/mercurial/bookmarks.py	Wed Jan 13 16:14:58 2021 +0100
@@ -623,7 +623,7 @@
 _binaryentry = struct.Struct(b'>20sH')
 
 
-def binaryencode(bookmarks):
+def binaryencode(repo, bookmarks):
     """encode a '(bookmark, node)' iterable into a binary stream
 
     the binary format is:
@@ -645,7 +645,7 @@
     return b''.join(binarydata)
 
 
-def binarydecode(stream):
+def binarydecode(repo, stream):
     """decode a binary stream into an '(bookmark, node)' iterable
 
     the binary format is: