hgext/largefiles/lfcommands.py
changeset 40675 9fcf8084ada8
parent 39710 7375a9ab0149
child 41061 98681293c890
--- a/hgext/largefiles/lfcommands.py	Sun Nov 18 02:40:47 2018 +0100
+++ b/hgext/largefiles/lfcommands.py	Mon Nov 19 21:12:13 2018 +0300
@@ -240,7 +240,7 @@
                 # largefile was modified, update standins
                 m = hashlib.sha1('')
                 m.update(ctx[f].data())
-                hash = m.hexdigest()
+                hash = node.hex(m.digest())
                 if f not in lfiletohash or lfiletohash[f] != hash:
                     rdst.wwrite(f, ctx[f].data(), ctx[f].flags())
                     executable = 'x' in ctx[f].flags()