equal
deleted
inserted
replaced
243 % (filename, path, gothash)) |
243 % (filename, path, gothash)) |
244 wvfs.unlink(filename) |
244 wvfs.unlink(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): |
254 copytostoreabsolute(repo, wvfs.join(file), hash) |
254 copytostoreabsolute(repo, wvfs.join(file), hash) |
255 else: |
255 else: |