hgext/largefiles/overrides.py
changeset 31617 1f6c932862e5
parent 31616 10561eb97c7f
child 31618 8228bc8fed8c
--- a/hgext/largefiles/overrides.py	Fri Mar 24 22:26:34 2017 +0900
+++ b/hgext/largefiles/overrides.py	Fri Mar 24 22:29:22 2017 +0900
@@ -1400,7 +1400,7 @@
             lfileabs = repo.wvfs.join(lfile)
             if not repo.wvfs.exists(lfileabs):
                 continue
-            lfhash = lfutil.hashrepofile(repo, lfile)
+            lfhash = lfutil.hashfile(lfileabs)
             standin = lfutil.standin(lfile)
             lfutil.writestandin(repo, standin, lfhash,
                                 lfutil.getexecutable(lfileabs))