hgext/largefiles/lfutil.py
branchstable
changeset 15570 0f208626d503
parent 15553 e89385e4ef8d
child 15571 809788118aa2
--- a/hgext/largefiles/lfutil.py	Wed Nov 23 16:25:44 2011 -0600
+++ b/hgext/largefiles/lfutil.py	Thu Nov 24 18:11:43 2011 +0100
@@ -212,6 +212,8 @@
     if path is None:
         return False
     util.makedirs(os.path.dirname(repo.wjoin(filename)))
+    # The write may fail before the file is fully written, but we
+    # don't use atomic writes in the working copy.
     shutil.copy(path, repo.wjoin(filename))
     return True