Mercurial > hg > pyhgsh
view tests/test-bad-pull.out @ 2076:d007df6daf8e
Create an atomic opener that does not automatically rename on close
The revlog.checkinlinesize() uses an atomic opener to replace the
index file after converting it from inline to traditional .i and .d
files. If this operation is interrupted, the atomic file class can
overwrite a valid file with a partially written one.
This patch introduces an atomic opener that does not automatically
replace the destination file with the tempfile. This way
an interrupted checkinlinesize() call turns into a noop.
author | mason@suse.com |
---|---|
date | Tue, 04 Apr 2006 16:38:44 -0400 |
parents | 2a676ad52c22 |
children | 30c7564f6dfc |
line wrap: on
line source
requesting all changes abort: error: Connection refused 255 copy: No such file or directory requesting all changes abort: HTTP Error 404: File not found 255