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