largefiles: remove unused keyword argument of copytostore() (API)
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sat, 01 Apr 2017 02:32:48 +0900
changeset 31737 c03af6b44846
parent 31736 dd2079fae003
child 31738 068b06b43cdf
largefiles: remove unused keyword argument of copytostore() (API) AFAIK, 'uploaded' argument of copytostore() (or copytocache(), before renaming at c65f5b6e26d4) has been never used both on caller and callee sides, since official release of bundled largefiles extension.
hgext/largefiles/lfutil.py
--- 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,7 +245,7 @@
         return False
     return True
 
-def copytostore(repo, revorctx, file, fstandin, uploaded=False):
+def copytostore(repo, revorctx, file, fstandin):
     wvfs = repo.wvfs
     hash = readasstandin(repo[revorctx][fstandin])
     if instore(repo, hash):