Mercurial > hg
annotate tests/test-clone-stream-revlog-split.t @ 50626:9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
This has been a long running problem, we should have a tests for it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 29 May 2023 02:22:20 +0200 |
parents | |
children | 9caa860dcbec |
rev | line source |
---|---|
50626
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 Test stream cloning while a revlog split happens |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 ------------------------------------------------ |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 #testcases stream-bundle2-v2 stream-bundle2-v3 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 #if stream-bundle2-v3 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 $ cat << EOF >> $HGRCPATH |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 > [experimental] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 > stream-v3 = yes |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 > EOF |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 #endif |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 setup a repository for tests |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 ---------------------------- |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 $ cat >> $HGRCPATH << EOF |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 > [format] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 > # skip compression to make it easy to trigger a split |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 > revlog-compression=none |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 > EOF |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
21 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 $ hg init server |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 $ cd server |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 $ file="some-file" |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 $ printf '%20d' '1' > $file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 $ hg commit -Aqma |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
27 $ printf '%1024d' '1' > $file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
28 $ hg commit -Aqmb |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
29 $ printf '%20d' '1' > $file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 $ hg commit -Aqmc |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
31 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 check the revlog is inline |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 $ f -s .hg/store/data/some-file* |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 .hg/store/data/some-file.i: size=1259 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
36 $ hg debug-revlog-index some-file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 rev linkrev nodeid p1-nodeid p2-nodeid |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
38 0 0 ed70cecbc103 000000000000 000000000000 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
39 1 1 7241018db64c ed70cecbc103 000000000000 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
40 2 2 fa1120531cc1 7241018db64c 000000000000 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 $ cd .. |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
42 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
43 setup synchronisation file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
44 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
45 $ HG_TEST_STREAM_WALKED_FILE_1="$TESTTMP/sync_file_walked_1" |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
46 $ export HG_TEST_STREAM_WALKED_FILE_1 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
47 $ HG_TEST_STREAM_WALKED_FILE_2="$TESTTMP/sync_file_walked_2" |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
48 $ export HG_TEST_STREAM_WALKED_FILE_2 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
49 $ HG_TEST_STREAM_WALKED_FILE_3="$TESTTMP/sync_file_walked_3" |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
50 $ export HG_TEST_STREAM_WALKED_FILE_3 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
52 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
53 Test stream-clone raced by a revlog-split |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
54 ========================================= |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
55 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
56 Test stream-clone where the file is split right after the lock section is done |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 Start the server |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 $ hg serve -R server \ |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
61 > -p $HGPORT1 -d --error errors.log --pid-file=hg.pid \ |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
62 > --config extensions.stream_steps="$RUNTESTDIR/testlib/ext-stream-clone-steps.py" |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
63 $ cat hg.pid >> $DAEMON_PIDS |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
64 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
65 Start a client doing a streaming clone |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
66 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
67 $ (hg clone -q --stream -U http://localhost:$HGPORT1 clone-while-split > client.log 2>&1; touch "$HG_TEST_STREAM_WALKED_FILE_3") & |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
68 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
69 Wait for the server to be done collecting data |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
70 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
71 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_1 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
72 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
73 trigger a split |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
74 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
75 $ dd if=/dev/zero of=server/$file bs=1k count=128 > /dev/null 2>&1 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
76 $ hg -R server ci -m "triggering a split" --config ui.timeout.warn=-1 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
77 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
78 unlock the stream generation |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
79 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
80 $ touch $HG_TEST_STREAM_WALKED_FILE_2 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
81 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
82 wait for the client to be done cloning. |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
83 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
84 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
85 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
86 Check everything is fine |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
87 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
88 $ cat client.log |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
89 remote: abort: unexpected error: clone could only read 256 bytes from data/some-file.i, but expected 1259 bytes (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
90 abort: pull failed on remote (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
91 $ tail -2 errors.log |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
92 mercurial.error.Abort: clone could only read 256 bytes from data/some-file.i, but expected 1259 bytes (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
93 (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 $ hg -R clone-while-split verify |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
95 checking changesets (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
96 checking manifests (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
97 crosschecking files in changesets and manifests (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 checking files (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
99 checking dirstate (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 checked 3 changesets with 3 changes to 1 files (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
101 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
102 [255] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
103 $ hg -R clone-while-split tip |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 changeset: 2:dbd9854c38a6 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 tag: tip (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 user: test (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 date: Thu Jan 01 00:00:00 1970 +0000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 summary: c (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
109 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
110 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 [255] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
112 $ hg -R clone-while-split debug-revlog-index some-file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
113 rev linkrev nodeid p1-nodeid p2-nodeid (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 0 0 ed70cecbc103 000000000000 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 1 1 7241018db64c ed70cecbc103 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 2 2 fa1120531cc1 7241018db64c 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
117 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
118 [255] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
119 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
120 subsequent pull work |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
121 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
122 $ hg -R clone-while-split pull |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
123 pulling from http://localhost:$HGPORT1/ (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 searching for changes (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
125 adding changesets (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
126 adding manifests (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
127 adding file changes (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
128 added 1 changesets with 1 changes to 1 files (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
129 new changesets df05c6cb1406 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
130 (run 'hg update' to get a working copy) (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
131 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
132 [255] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
133 |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
134 $ hg -R clone-while-split debug-revlog-index some-file |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
135 rev linkrev nodeid p1-nodeid p2-nodeid (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
136 0 0 ed70cecbc103 000000000000 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
137 1 1 7241018db64c ed70cecbc103 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
138 2 2 fa1120531cc1 7241018db64c 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
139 3 3 a631378adaa3 fa1120531cc1 000000000000 (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
140 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
141 [255] |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
142 $ hg -R clone-while-split verify |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
143 checking changesets (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
144 checking manifests (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
145 crosschecking files in changesets and manifests (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
146 checking files (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
147 checking dirstate (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
148 checked 4 changesets with 4 changes to 1 files (missing-correct-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
149 abort: repository clone-while-split not found (known-bad-output !) |
9b0fe2b075b5
stream-clone: add a test that highlight crash on revlog splitting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
150 [255] |