Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-ssh.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 | 70ba0c86da8b |
children | 3053fc33f545 |
rev | line source |
---|---|
1110 | 1 # creating 'remote' |
2 # clone remote | |
3 requesting all changes | |
4 adding changesets | |
5 adding manifests | |
6 adding file changes | |
7 added 1 changesets with 1 changes to 1 files | |
8 # verify | |
9 checking changesets | |
10 checking manifests | |
11 crosschecking files in changesets and manifests | |
12 checking files | |
13 1 files, 1 changesets, 1 total revisions | |
14 # empty default pull | |
15 default = ssh://user@dummy/remote | |
16 pulling from ssh://user@dummy/remote | |
17 searching for changes | |
18 no changes found | |
19 # local change | |
20 # updating rc | |
21 # find outgoing | |
22 searching for changes | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1168
diff
changeset
|
23 changeset: 1:c54836a570be |
1110 | 24 tag: tip |
25 user: test | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1168
diff
changeset
|
26 date: Mon Jan 12 13:46:40 1970 +0000 |
1110 | 27 summary: add |
28 | |
1982
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
29 # find incoming on the remote side |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
30 searching for changes |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
31 changeset: 1:c54836a570be |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
32 tag: tip |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
33 user: test |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
34 date: Mon Jan 12 13:46:40 1970 +0000 |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
35 summary: add |
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
36 |
1110 | 37 # push |
38 pushing to ssh://user@dummy/remote | |
39 searching for changes | |
40 remote: adding changesets | |
41 remote: adding manifests | |
42 remote: adding file changes | |
43 remote: added 1 changesets with 1 changes to 1 files | |
44 # check remote tip | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1168
diff
changeset
|
45 changeset: 1:c54836a570be |
1110 | 46 tag: tip |
47 user: test | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1168
diff
changeset
|
48 date: Mon Jan 12 13:46:40 1970 +0000 |
1110 | 49 summary: add |
50 | |
51 checking changesets | |
52 checking manifests | |
53 crosschecking files in changesets and manifests | |
54 checking files | |
55 1 files, 2 changesets, 2 total revisions | |
56 bleah | |
57 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: | |
58 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: | |
59 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: | |
1982
70ba0c86da8b
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
60 Got arguments 1:user@dummy 2:hg -R local serve --stdio 3: 4: 5: |
1110 | 61 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: |