git-annex/debian
Joey Hess f161b5eb59 Fix data loss bug in directory special remote
When moving a file to the remote failed, and partially transferred content
was left behind in the directory, re-running the same move would think it
succeeded and delete the local copy.

I reproduced data loss when moving files to a partition that was almost
full. Interrupting a transfer could have similar results.

Easily fixed by using a temp file which is then moved atomically into place
once the transfer completes.

I've audited other calls to copyFileExternal, and other special remote
file transfer code; everything else seems to use temp files correctly
(rsync, git), or otherwise use atomic transfers (bup, S3).
2012-01-16 16:28:15 -04:00
..
changelog Fix data loss bug in directory special remote 2012-01-16 16:28:15 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control debhelper v9 2012-01-15 14:53:38 -04:00
copyright log: New command that displays the location log for file, showing each repository they were added to and removed from. 2012-01-06 15:40:07 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
manpages update 2010-10-19 16:17:29 -04:00
NEWS typo 2011-10-12 00:29:49 -04:00
rules update 2010-10-27 15:08:46 -04:00