hgext/lfs/pointer.py
changeset 36602 e30be4d2ac60
parent 36600 95bd9e396774
child 37926 fb6226c15e54
--- a/hgext/lfs/pointer.py	Fri Mar 02 11:06:37 2018 -0500
+++ b/hgext/lfs/pointer.py	Fri Mar 02 11:07:07 2018 -0500
@@ -13,6 +13,7 @@
 
 from mercurial import (
     error,
+    pycompat,
 )
 
 class InvalidPointer(error.RevlogError):
@@ -23,7 +24,8 @@
 
     def __init__(self, *args, **kwargs):
         self['version'] = self.VERSION
-        super(gitlfspointer, self).__init__(*args, **kwargs)
+        super(gitlfspointer, self).__init__(*args)
+        self.update(pycompat.byteskwargs(kwargs))
 
     @classmethod
     def deserialize(cls, text):