##// END OF EJS Templates
largefiles: make copytostore() accept only changectx as the 2nd argument (API)...
FUJIWARA Katsunori -
r31738:068b06b4 default
parent child Browse files
Show More
@@ -245,9 +245,9 b' def copyfromcache(repo, hash, filename):'
245 return False
245 return False
246 return True
246 return True
247
247
248 def copytostore(repo, revorctx, file, fstandin):
248 def copytostore(repo, ctx, file, fstandin):
249 wvfs = repo.wvfs
249 wvfs = repo.wvfs
250 hash = readasstandin(repo[revorctx][fstandin])
250 hash = readasstandin(ctx[fstandin])
251 if instore(repo, hash):
251 if instore(repo, hash):
252 return
252 return
253 if wvfs.exists(file):
253 if wvfs.exists(file):
General Comments 0
You need to be logged in to leave comments. Login now