##// END OF EJS Templates
largefiles: add comment about non-atomic working directory...
Martin Geisler -
r15570:0f208626 stable
parent child Browse files
Show More
@@ -212,6 +212,8 b' def copyfromcache(repo, hash, filename):'
212 if path is None:
212 if path is None:
213 return False
213 return False
214 util.makedirs(os.path.dirname(repo.wjoin(filename)))
214 util.makedirs(os.path.dirname(repo.wjoin(filename)))
215 # The write may fail before the file is fully written, but we
216 # don't use atomic writes in the working copy.
215 shutil.copy(path, repo.wjoin(filename))
217 shutil.copy(path, repo.wjoin(filename))
216 return True
218 return True
217
219
General Comments 0
You need to be logged in to leave comments. Login now