173 % prepush -r should not allow you to sneak in new heads |
173 % prepush -r should not allow you to sneak in new heads |
174 pushing to ../l |
174 pushing to ../l |
175 searching for changes |
175 searching for changes |
176 abort: push creates new remote heads on branch 'a'! |
176 abort: push creates new remote heads on branch 'a'! |
177 (did you forget to merge? use push -f to force) |
177 (did you forget to merge? use push -f to force) |
|
178 % check prepush with new branch head on former topo non-head |
|
179 marked working directory as branch A |
|
180 adding a |
|
181 marked working directory as branch B |
|
182 adding b |
|
183 updating to branch B |
|
184 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
185 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
186 adding b1 |
|
187 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
188 adding a2 |
|
189 created new head |
|
190 %% glog of local |
|
191 @ 2: A a2 |
|
192 | |
|
193 | o 1: B b |
|
194 |/ |
|
195 o 0: A a |
|
196 |
|
197 %% glog of remote |
|
198 @ 2: B b1 |
|
199 | |
|
200 o 1: B b |
|
201 | |
|
202 o 0: A a |
|
203 |
|
204 %% outgoing |
|
205 comparing with inner |
|
206 searching for changes |
|
207 2: A a2 |
|
208 pushing to inner |
|
209 searching for changes |
|
210 note: unsynced remote changes! |
|
211 adding changesets |
|
212 adding manifests |
|
213 adding file changes |
|
214 added 1 changesets with 1 changes to 1 files (+1 heads) |
|
215 % check prepush with new branch head on former topo head |
|
216 marked working directory as branch A |
|
217 adding a |
|
218 marked working directory as branch B |
|
219 adding b |
|
220 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
221 adding a1 |
|
222 created new head |
|
223 updating to branch A |
|
224 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
225 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
226 adding b1 |
|
227 adding a2 |
|
228 %% glog of local |
|
229 @ 3: A a2 |
|
230 | |
|
231 o 2: A a1 |
|
232 | |
|
233 | o 1: B b |
|
234 |/ |
|
235 o 0: A a |
|
236 |
|
237 %% glog of remote |
|
238 @ 3: B b1 |
|
239 | |
|
240 | o 2: A a1 |
|
241 | | |
|
242 o | 1: B b |
|
243 |/ |
|
244 o 0: A a |
|
245 |
|
246 %% outgoing |
|
247 comparing with inner |
|
248 searching for changes |
|
249 3: A a2 |
|
250 pushing to inner |
|
251 searching for changes |
|
252 note: unsynced remote changes! |
|
253 adding changesets |
|
254 adding manifests |
|
255 adding file changes |
|
256 added 1 changesets with 1 changes to 1 files |