hgext/largefiles/lfutil.py
changeset 31738 068b06b43cdf
parent 31737 c03af6b44846
child 31739 4e446d31a744
--- a/hgext/largefiles/lfutil.py	Sat Apr 01 02:32:48 2017 +0900
+++ b/hgext/largefiles/lfutil.py	Sat Apr 01 02:32:48 2017 +0900
@@ -245,9 +245,9 @@
         return False
     return True
 
-def copytostore(repo, revorctx, file, fstandin):
+def copytostore(repo, ctx, file, fstandin):
     wvfs = repo.wvfs
-    hash = readasstandin(repo[revorctx][fstandin])
+    hash = readasstandin(ctx[fstandin])
     if instore(repo, hash):
         return
     if wvfs.exists(file):