Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-simple-update.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 | 5a034646e472 |
children | 3053fc33f545 |
rev | line source |
---|---|
767
61ed30e82b27
Update tests to match new addremove chattiness.
Bryan O'Sullivan <bos@serpentine.com>
parents:
749
diff
changeset
|
1 adding foo |
331 | 2 checking changesets |
3 checking manifests | |
4 crosschecking files in changesets and manifests | |
5 checking files | |
6 1 files, 1 changesets, 1 total revisions | |
404 | 7 pulling from ../branch |
331 | 8 searching for changes |
9 adding changesets | |
10 adding manifests | |
775 | 11 adding file changes |
12 added 1 changesets with 1 changes to 1 files | |
404 | 13 (run 'hg update' to get a working copy) |
331 | 14 checking changesets |
15 checking manifests | |
16 crosschecking files in changesets and manifests | |
17 checking files | |
18 1 files, 2 changesets, 2 total revisions | |
19 foo | |
20 bar | |
21 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |