Show More
@@ -1,142 +1,149 b'' | |||||
1 | $ hg init test |
|
1 | ================================== | |
2 | $ hg -R test unbundle "$TESTDIR/bundles/remote.hg" |
|
2 | Basic testing for the push command | |
|
3 | ================================== | |||
|
4 | ||||
|
5 | Testing of the '--rev' flag | |||
|
6 | =========================== | |||
|
7 | ||||
|
8 | $ hg init test-revflag | |||
|
9 | $ hg -R test-revflag unbundle "$TESTDIR/bundles/remote.hg" | |||
3 | adding changesets |
|
10 | adding changesets | |
4 | adding manifests |
|
11 | adding manifests | |
5 | adding file changes |
|
12 | adding file changes | |
6 | added 9 changesets with 7 changes to 4 files (+1 heads) |
|
13 | added 9 changesets with 7 changes to 4 files (+1 heads) | |
7 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
14 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
8 |
|
15 | |||
9 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
16 | $ for i in 0 1 2 3 4 5 6 7 8; do | |
10 | > echo |
|
17 | > echo | |
11 | > hg init test-"$i" |
|
18 | > hg init test-revflag-"$i" | |
12 | > hg -R test push -r "$i" test-"$i" |
|
19 | > hg -R test-revflag push -r "$i" test-revflag-"$i" | |
13 | > hg -R test-"$i" verify |
|
20 | > hg -R test-revflag-"$i" verify | |
14 | > done |
|
21 | > done | |
15 |
|
22 | |||
16 | pushing to test-0 |
|
23 | pushing to test-revflag-0 | |
17 | searching for changes |
|
24 | searching for changes | |
18 | adding changesets |
|
25 | adding changesets | |
19 | adding manifests |
|
26 | adding manifests | |
20 | adding file changes |
|
27 | adding file changes | |
21 | added 1 changesets with 1 changes to 1 files |
|
28 | added 1 changesets with 1 changes to 1 files | |
22 | checking changesets |
|
29 | checking changesets | |
23 | checking manifests |
|
30 | checking manifests | |
24 | crosschecking files in changesets and manifests |
|
31 | crosschecking files in changesets and manifests | |
25 | checking files |
|
32 | checking files | |
26 | 1 files, 1 changesets, 1 total revisions |
|
33 | 1 files, 1 changesets, 1 total revisions | |
27 |
|
34 | |||
28 | pushing to test-1 |
|
35 | pushing to test-revflag-1 | |
29 | searching for changes |
|
36 | searching for changes | |
30 | adding changesets |
|
37 | adding changesets | |
31 | adding manifests |
|
38 | adding manifests | |
32 | adding file changes |
|
39 | adding file changes | |
33 | added 2 changesets with 2 changes to 1 files |
|
40 | added 2 changesets with 2 changes to 1 files | |
34 | checking changesets |
|
41 | checking changesets | |
35 | checking manifests |
|
42 | checking manifests | |
36 | crosschecking files in changesets and manifests |
|
43 | crosschecking files in changesets and manifests | |
37 | checking files |
|
44 | checking files | |
38 | 1 files, 2 changesets, 2 total revisions |
|
45 | 1 files, 2 changesets, 2 total revisions | |
39 |
|
46 | |||
40 | pushing to test-2 |
|
47 | pushing to test-revflag-2 | |
41 | searching for changes |
|
48 | searching for changes | |
42 | adding changesets |
|
49 | adding changesets | |
43 | adding manifests |
|
50 | adding manifests | |
44 | adding file changes |
|
51 | adding file changes | |
45 | added 3 changesets with 3 changes to 1 files |
|
52 | added 3 changesets with 3 changes to 1 files | |
46 | checking changesets |
|
53 | checking changesets | |
47 | checking manifests |
|
54 | checking manifests | |
48 | crosschecking files in changesets and manifests |
|
55 | crosschecking files in changesets and manifests | |
49 | checking files |
|
56 | checking files | |
50 | 1 files, 3 changesets, 3 total revisions |
|
57 | 1 files, 3 changesets, 3 total revisions | |
51 |
|
58 | |||
52 | pushing to test-3 |
|
59 | pushing to test-revflag-3 | |
53 | searching for changes |
|
60 | searching for changes | |
54 | adding changesets |
|
61 | adding changesets | |
55 | adding manifests |
|
62 | adding manifests | |
56 | adding file changes |
|
63 | adding file changes | |
57 | added 4 changesets with 4 changes to 1 files |
|
64 | added 4 changesets with 4 changes to 1 files | |
58 | checking changesets |
|
65 | checking changesets | |
59 | checking manifests |
|
66 | checking manifests | |
60 | crosschecking files in changesets and manifests |
|
67 | crosschecking files in changesets and manifests | |
61 | checking files |
|
68 | checking files | |
62 | 1 files, 4 changesets, 4 total revisions |
|
69 | 1 files, 4 changesets, 4 total revisions | |
63 |
|
70 | |||
64 | pushing to test-4 |
|
71 | pushing to test-revflag-4 | |
65 | searching for changes |
|
72 | searching for changes | |
66 | adding changesets |
|
73 | adding changesets | |
67 | adding manifests |
|
74 | adding manifests | |
68 | adding file changes |
|
75 | adding file changes | |
69 | added 2 changesets with 2 changes to 1 files |
|
76 | added 2 changesets with 2 changes to 1 files | |
70 | checking changesets |
|
77 | checking changesets | |
71 | checking manifests |
|
78 | checking manifests | |
72 | crosschecking files in changesets and manifests |
|
79 | crosschecking files in changesets and manifests | |
73 | checking files |
|
80 | checking files | |
74 | 1 files, 2 changesets, 2 total revisions |
|
81 | 1 files, 2 changesets, 2 total revisions | |
75 |
|
82 | |||
76 | pushing to test-5 |
|
83 | pushing to test-revflag-5 | |
77 | searching for changes |
|
84 | searching for changes | |
78 | adding changesets |
|
85 | adding changesets | |
79 | adding manifests |
|
86 | adding manifests | |
80 | adding file changes |
|
87 | adding file changes | |
81 | added 3 changesets with 3 changes to 1 files |
|
88 | added 3 changesets with 3 changes to 1 files | |
82 | checking changesets |
|
89 | checking changesets | |
83 | checking manifests |
|
90 | checking manifests | |
84 | crosschecking files in changesets and manifests |
|
91 | crosschecking files in changesets and manifests | |
85 | checking files |
|
92 | checking files | |
86 | 1 files, 3 changesets, 3 total revisions |
|
93 | 1 files, 3 changesets, 3 total revisions | |
87 |
|
94 | |||
88 | pushing to test-6 |
|
95 | pushing to test-revflag-6 | |
89 | searching for changes |
|
96 | searching for changes | |
90 | adding changesets |
|
97 | adding changesets | |
91 | adding manifests |
|
98 | adding manifests | |
92 | adding file changes |
|
99 | adding file changes | |
93 | added 4 changesets with 5 changes to 2 files |
|
100 | added 4 changesets with 5 changes to 2 files | |
94 | checking changesets |
|
101 | checking changesets | |
95 | checking manifests |
|
102 | checking manifests | |
96 | crosschecking files in changesets and manifests |
|
103 | crosschecking files in changesets and manifests | |
97 | checking files |
|
104 | checking files | |
98 | 2 files, 4 changesets, 5 total revisions |
|
105 | 2 files, 4 changesets, 5 total revisions | |
99 |
|
106 | |||
100 | pushing to test-7 |
|
107 | pushing to test-revflag-7 | |
101 | searching for changes |
|
108 | searching for changes | |
102 | adding changesets |
|
109 | adding changesets | |
103 | adding manifests |
|
110 | adding manifests | |
104 | adding file changes |
|
111 | adding file changes | |
105 | added 5 changesets with 6 changes to 3 files |
|
112 | added 5 changesets with 6 changes to 3 files | |
106 | checking changesets |
|
113 | checking changesets | |
107 | checking manifests |
|
114 | checking manifests | |
108 | crosschecking files in changesets and manifests |
|
115 | crosschecking files in changesets and manifests | |
109 | checking files |
|
116 | checking files | |
110 | 3 files, 5 changesets, 6 total revisions |
|
117 | 3 files, 5 changesets, 6 total revisions | |
111 |
|
118 | |||
112 | pushing to test-8 |
|
119 | pushing to test-revflag-8 | |
113 | searching for changes |
|
120 | searching for changes | |
114 | adding changesets |
|
121 | adding changesets | |
115 | adding manifests |
|
122 | adding manifests | |
116 | adding file changes |
|
123 | adding file changes | |
117 | added 5 changesets with 5 changes to 2 files |
|
124 | added 5 changesets with 5 changes to 2 files | |
118 | checking changesets |
|
125 | checking changesets | |
119 | checking manifests |
|
126 | checking manifests | |
120 | crosschecking files in changesets and manifests |
|
127 | crosschecking files in changesets and manifests | |
121 | checking files |
|
128 | checking files | |
122 | 2 files, 5 changesets, 5 total revisions |
|
129 | 2 files, 5 changesets, 5 total revisions | |
123 |
|
130 | |||
124 | $ cd test-8 |
|
131 | $ cd test-revflag-8 | |
125 |
|
132 | |||
126 | $ hg pull ../test-7 |
|
133 | $ hg pull ../test-revflag-7 | |
127 | pulling from ../test-7 |
|
134 | pulling from ../test-revflag-7 | |
128 | searching for changes |
|
135 | searching for changes | |
129 | adding changesets |
|
136 | adding changesets | |
130 | adding manifests |
|
137 | adding manifests | |
131 | adding file changes |
|
138 | adding file changes | |
132 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
139 | added 4 changesets with 2 changes to 3 files (+1 heads) | |
133 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
140 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
134 |
|
141 | |||
135 | $ hg verify |
|
142 | $ hg verify | |
136 | checking changesets |
|
143 | checking changesets | |
137 | checking manifests |
|
144 | checking manifests | |
138 | crosschecking files in changesets and manifests |
|
145 | crosschecking files in changesets and manifests | |
139 | checking files |
|
146 | checking files | |
140 | 4 files, 9 changesets, 7 total revisions |
|
147 | 4 files, 9 changesets, 7 total revisions | |
141 |
|
148 | |||
142 | $ cd .. |
|
149 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now