hgext/largefiles/lfutil.py
changeset 31735 3e37b479ce2f
parent 31734 44ff5e4ffc8c
child 31736 dd2079fae003
--- a/hgext/largefiles/lfutil.py	Sat Apr 01 02:32:31 2017 +0900
+++ b/hgext/largefiles/lfutil.py	Sat Apr 01 02:32:47 2017 +0900
@@ -434,10 +434,11 @@
 def getstandinsstate(repo):
     standins = []
     matcher = getstandinmatcher(repo)
+    wctx = repo[None]
     for standin in repo.dirstate.walk(matcher, [], False, False):
         lfile = splitstandin(standin)
         try:
-            hash = readstandin(repo, lfile)
+            hash = readasstandin(wctx[standin])
         except IOError:
             hash = None
         standins.append((lfile, hash))