Show More
@@ -0,0 +1,54 b'' | |||||
|
1 | #!/bin/sh | |||
|
2 | ||||
|
3 | hg init test | |||
|
4 | cd test | |||
|
5 | echo 0 > afile | |||
|
6 | hg add afile | |||
|
7 | hg commit -m "0.0" -d "1000000 0" | |||
|
8 | echo 1 >> afile | |||
|
9 | hg commit -m "0.1" -d "1000000 0" | |||
|
10 | echo 2 >> afile | |||
|
11 | hg commit -m "0.2" -d "1000000 0" | |||
|
12 | echo 3 >> afile | |||
|
13 | hg commit -m "0.3" -d "1000000 0" | |||
|
14 | hg update -C 0 | |||
|
15 | echo 1 >> afile | |||
|
16 | hg commit -m "1.1" -d "1000000 0" | |||
|
17 | echo 2 >> afile | |||
|
18 | hg commit -m "1.2" -d "1000000 0" | |||
|
19 | echo "a line" > fred | |||
|
20 | echo 3 >> afile | |||
|
21 | hg add fred | |||
|
22 | hg commit -m "1.3" -d "1000000 0" | |||
|
23 | hg mv afile adifferentfile | |||
|
24 | hg commit -m "1.3m" -d "1000000 0" | |||
|
25 | hg update -C 3 | |||
|
26 | hg mv afile anotherfile | |||
|
27 | hg commit -m "0.3m" -d "1000000 0" | |||
|
28 | hg verify | |||
|
29 | cd .. | |||
|
30 | hg init empty | |||
|
31 | hg -R test bundle full.hg empty | |||
|
32 | hg -R test unbundle full.hg | |||
|
33 | hg -R empty unbundle full.hg | |||
|
34 | hg -R empty heads | |||
|
35 | hg -R empty verify | |||
|
36 | ||||
|
37 | rm -rf empty | |||
|
38 | hg init empty | |||
|
39 | cd empty | |||
|
40 | hg -R bundle://../full.hg log | |||
|
41 | #doesn't work (yet ?) | |||
|
42 | #hg -R bundle://../full.hg verify | |||
|
43 | hg pull bundle://../full.hg | |||
|
44 | cd .. | |||
|
45 | ||||
|
46 | rm -rf empty | |||
|
47 | hg init empty | |||
|
48 | hg clone -r 3 test partial | |||
|
49 | hg clone partial partial2 | |||
|
50 | cd partial | |||
|
51 | hg -R bundle://../full.hg log | |||
|
52 | hg incoming bundle://../full.hg | |||
|
53 | hg -R bundle://../full.hg outgoing ../partial2 | |||
|
54 | cd .. |
@@ -0,0 +1,203 b'' | |||||
|
1 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
2 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | |||
|
3 | checking changesets | |||
|
4 | checking manifests | |||
|
5 | crosschecking files in changesets and manifests | |||
|
6 | checking files | |||
|
7 | 4 files, 9 changesets, 7 total revisions | |||
|
8 | searching for changes | |||
|
9 | adding changesets | |||
|
10 | adding manifests | |||
|
11 | adding file changes | |||
|
12 | added 0 changesets with 0 changes to 4 files | |||
|
13 | (run 'hg update' to get a working copy) | |||
|
14 | adding changesets | |||
|
15 | adding manifests | |||
|
16 | adding file changes | |||
|
17 | added 9 changesets with 7 changes to 4 files (+1 heads) | |||
|
18 | (run 'hg heads' to see heads, 'hg merge' to merge) | |||
|
19 | changeset: 8:836ac62537ab | |||
|
20 | tag: tip | |||
|
21 | parent: 3:ac69c658229d | |||
|
22 | user: test | |||
|
23 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
24 | summary: 0.3m | |||
|
25 | ||||
|
26 | changeset: 7:80fe151401c2 | |||
|
27 | user: test | |||
|
28 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
29 | summary: 1.3m | |||
|
30 | ||||
|
31 | checking changesets | |||
|
32 | checking manifests | |||
|
33 | crosschecking files in changesets and manifests | |||
|
34 | checking files | |||
|
35 | 4 files, 9 changesets, 7 total revisions | |||
|
36 | changeset: 8:836ac62537ab | |||
|
37 | tag: tip | |||
|
38 | parent: 3:ac69c658229d | |||
|
39 | user: test | |||
|
40 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
41 | summary: 0.3m | |||
|
42 | ||||
|
43 | changeset: 7:80fe151401c2 | |||
|
44 | user: test | |||
|
45 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
46 | summary: 1.3m | |||
|
47 | ||||
|
48 | changeset: 6:1e3f6b843bd6 | |||
|
49 | user: test | |||
|
50 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
51 | summary: 1.3 | |||
|
52 | ||||
|
53 | changeset: 5:024e4e7df376 | |||
|
54 | user: test | |||
|
55 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
56 | summary: 1.2 | |||
|
57 | ||||
|
58 | changeset: 4:5f4f3ceb285e | |||
|
59 | parent: 0:5649c9d34dd8 | |||
|
60 | user: test | |||
|
61 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
62 | summary: 1.1 | |||
|
63 | ||||
|
64 | changeset: 3:ac69c658229d | |||
|
65 | user: test | |||
|
66 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
67 | summary: 0.3 | |||
|
68 | ||||
|
69 | changeset: 2:d62976ca1e50 | |||
|
70 | user: test | |||
|
71 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
72 | summary: 0.2 | |||
|
73 | ||||
|
74 | changeset: 1:10b2180f755b | |||
|
75 | user: test | |||
|
76 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
77 | summary: 0.1 | |||
|
78 | ||||
|
79 | changeset: 0:5649c9d34dd8 | |||
|
80 | user: test | |||
|
81 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
82 | summary: 0.0 | |||
|
83 | ||||
|
84 | pulling from bundle://../full.hg | |||
|
85 | requesting all changes | |||
|
86 | adding changesets | |||
|
87 | adding manifests | |||
|
88 | adding file changes | |||
|
89 | added 9 changesets with 7 changes to 4 files (+1 heads) | |||
|
90 | (run 'hg heads' to see heads, 'hg merge' to merge) | |||
|
91 | requesting all changes | |||
|
92 | adding changesets | |||
|
93 | adding manifests | |||
|
94 | adding file changes | |||
|
95 | added 4 changesets with 4 changes to 1 files | |||
|
96 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
97 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
98 | changeset: 8:836ac62537ab | |||
|
99 | tag: tip | |||
|
100 | parent: 3:ac69c658229d | |||
|
101 | user: test | |||
|
102 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
103 | summary: 0.3m | |||
|
104 | ||||
|
105 | changeset: 7:80fe151401c2 | |||
|
106 | user: test | |||
|
107 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
108 | summary: 1.3m | |||
|
109 | ||||
|
110 | changeset: 6:1e3f6b843bd6 | |||
|
111 | user: test | |||
|
112 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
113 | summary: 1.3 | |||
|
114 | ||||
|
115 | changeset: 5:024e4e7df376 | |||
|
116 | user: test | |||
|
117 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
118 | summary: 1.2 | |||
|
119 | ||||
|
120 | changeset: 4:5f4f3ceb285e | |||
|
121 | parent: 0:5649c9d34dd8 | |||
|
122 | user: test | |||
|
123 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
124 | summary: 1.1 | |||
|
125 | ||||
|
126 | changeset: 3:ac69c658229d | |||
|
127 | user: test | |||
|
128 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
129 | summary: 0.3 | |||
|
130 | ||||
|
131 | changeset: 2:d62976ca1e50 | |||
|
132 | user: test | |||
|
133 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
134 | summary: 0.2 | |||
|
135 | ||||
|
136 | changeset: 1:10b2180f755b | |||
|
137 | user: test | |||
|
138 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
139 | summary: 0.1 | |||
|
140 | ||||
|
141 | changeset: 0:5649c9d34dd8 | |||
|
142 | user: test | |||
|
143 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
144 | summary: 0.0 | |||
|
145 | ||||
|
146 | searching for changes | |||
|
147 | changeset: 4:5f4f3ceb285e | |||
|
148 | parent: 0:5649c9d34dd8 | |||
|
149 | user: test | |||
|
150 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
151 | summary: 1.1 | |||
|
152 | ||||
|
153 | changeset: 5:024e4e7df376 | |||
|
154 | user: test | |||
|
155 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
156 | summary: 1.2 | |||
|
157 | ||||
|
158 | changeset: 6:1e3f6b843bd6 | |||
|
159 | user: test | |||
|
160 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
161 | summary: 1.3 | |||
|
162 | ||||
|
163 | changeset: 7:80fe151401c2 | |||
|
164 | user: test | |||
|
165 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
166 | summary: 1.3m | |||
|
167 | ||||
|
168 | changeset: 8:836ac62537ab | |||
|
169 | tag: tip | |||
|
170 | parent: 3:ac69c658229d | |||
|
171 | user: test | |||
|
172 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
173 | summary: 0.3m | |||
|
174 | ||||
|
175 | searching for changes | |||
|
176 | changeset: 4:5f4f3ceb285e | |||
|
177 | parent: 0:5649c9d34dd8 | |||
|
178 | user: test | |||
|
179 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
180 | summary: 1.1 | |||
|
181 | ||||
|
182 | changeset: 5:024e4e7df376 | |||
|
183 | user: test | |||
|
184 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
185 | summary: 1.2 | |||
|
186 | ||||
|
187 | changeset: 6:1e3f6b843bd6 | |||
|
188 | user: test | |||
|
189 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
190 | summary: 1.3 | |||
|
191 | ||||
|
192 | changeset: 7:80fe151401c2 | |||
|
193 | user: test | |||
|
194 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
195 | summary: 1.3m | |||
|
196 | ||||
|
197 | changeset: 8:836ac62537ab | |||
|
198 | tag: tip | |||
|
199 | parent: 3:ac69c658229d | |||
|
200 | user: test | |||
|
201 | date: Mon Jan 12 13:46:40 1970 +0000 | |||
|
202 | summary: 0.3m | |||
|
203 |
General Comments 0
You need to be logged in to leave comments.
Login now