##// END OF EJS Templates
add benoit's test for issue148.
Vadim Gelfer -
r2000:6f6e210b default
parent child Browse files
Show More
@@ -0,0 +1,24 b''
1 #!/bin/sh
2 #
3 # Corrupt an hg repo with two pulls.
4 #
5
6 # create one repo with a long history
7 hg init source1
8 cd source1
9 touch foo
10 hg add foo
11 for i in 1 2 3 4 5 6 7 8 9 10; do
12 echo $i >> foo
13 hg ci -m $i
14 done
15 cd ..
16
17 # create a third repo to pull both other repos into it
18 hg init version2
19 hg -R version2 pull source1 &
20 sleep 1
21
22 hg clone --pull -U version2 corrupted
23 hg -R corrupted verify
24 hg -R version2 verify
@@ -0,0 +1,22 b''
1 pulling from source1
2 requesting all changes
3 adding changesets
4 adding manifests
5 adding file changes
6 added 10 changesets with 10 changes to 1 files
7 (run 'hg update' to get a working copy)
8 requesting all changes
9 adding changesets
10 adding manifests
11 adding file changes
12 added 10 changesets with 10 changes to 1 files
13 checking changesets
14 checking manifests
15 crosschecking files in changesets and manifests
16 checking files
17 1 files, 10 changesets, 10 total revisions
18 checking changesets
19 checking manifests
20 crosschecking files in changesets and manifests
21 checking files
22 1 files, 10 changesets, 10 total revisions
General Comments 0
You need to be logged in to leave comments. Login now