Show More
@@ -245,9 +245,9 b' def copyfromcache(repo, hash, filename):' | |||
|
245 | 245 | return False |
|
246 | 246 | return True |
|
247 | 247 | |
|
248 | def copytostore(repo, revorctx, file, uploaded=False): | |
|
248 | def copytostore(repo, revorctx, file, fstandin, uploaded=False): | |
|
249 | 249 | wvfs = repo.wvfs |
|
250 |
hash = readstandin(repo |
|
|
250 | hash = readasstandin(repo[revorctx][fstandin]) | |
|
251 | 251 | if instore(repo, hash): |
|
252 | 252 | return |
|
253 | 253 | if wvfs.exists(file): |
@@ -263,7 +263,7 b' def copyalltostore(repo, node):' | |||
|
263 | 263 | for filename in ctx.files(): |
|
264 | 264 | realfile = splitstandin(filename) |
|
265 | 265 | if realfile is not None and filename in ctx.manifest(): |
|
266 | copytostore(repo, ctx, realfile) | |
|
266 | copytostore(repo, ctx, realfile, filename) | |
|
267 | 267 | |
|
268 | 268 | def copytostoreabsolute(repo, file, hash): |
|
269 | 269 | if inusercache(repo.ui, hash): |
General Comments 0
You need to be logged in to leave comments.
Login now