Show More
@@ -1,5 +1,12 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 | |
@@ -8,12 +15,12 b'' | |||||
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 | |
@@ -25,7 +32,7 b'' | |||||
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 | |
@@ -37,7 +44,7 b'' | |||||
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 | |
@@ -49,7 +56,7 b'' | |||||
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 | |
@@ -61,7 +68,7 b'' | |||||
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 | |
@@ -73,7 +80,7 b'' | |||||
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 | |
@@ -85,7 +92,7 b'' | |||||
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 | |
@@ -97,7 +104,7 b'' | |||||
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 | |
@@ -109,7 +116,7 b'' | |||||
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 | |
@@ -121,10 +128,10 b'' | |||||
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 |
General Comments 0
You need to be logged in to leave comments.
Login now