Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-notfound.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 | 9462df772bc8 |
children |
rev | line source |
---|---|
909
e2e7a2462ede
Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
1 Is there an error message when trying to diff non-existing files? |
e2e7a2462ede
Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
2 found: No such file or directory |
e2e7a2462ede
Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
3 not: No such file or directory |
1184
9462df772bc8
Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents:
925
diff
changeset
|
4 Is there an error message when trying to add non-existing files? |
909
e2e7a2462ede
Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
5 found: No such file or directory |
1184
9462df772bc8
Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents:
925
diff
changeset
|
6 not: No such file or directory |