276 0 |
276 0 |
277 - 1f0dee641bb7 |
277 - 1f0dee641bb7 |
278 |
278 |
279 pushing to stuff that doesn't support obsolete |
279 pushing to stuff that doesn't support obsolete |
280 |
280 |
281 $ hg init ../other-old |
281 DISABLED. the _enable switch it global :-/ |
282 > # XXX I don't like this but changeset get published otherwise |
282 |
283 > # remove it when we will get a --keep-state flag for push |
283 .. $ hg init ../other-old |
284 $ echo '[extensions]' > ../other-old/.hg/hgrc |
284 .. > # XXX I don't like this but changeset get published otherwise |
285 $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc |
285 .. > # remove it when we will get a --keep-state flag for push |
286 $ hg push ../other-old |
286 .. $ echo '[extensions]' > ../other-old/.hg/hgrc |
287 pushing to ../other-old |
287 .. $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc |
288 searching for changes |
288 .. $ hg push ../other-old |
289 abort: push includes an unstable changeset: 909a0fb57e5d! |
289 .. pushing to ../other-old |
290 (use 'hg stabilize' to get a stable history or --force to ignore warnings) |
290 .. searching for changes |
291 [255] |
291 .. abort: push includes an unstable changeset: 909a0fb57e5d! |
292 $ hg push -f ../other-old |
292 .. (use 'hg stabilize' to get a stable history or --force to ignore warnings) |
293 pushing to ../other-old |
293 .. [255] |
294 searching for changes |
294 .. $ hg push -f ../other-old |
295 adding changesets |
295 .. pushing to ../other-old |
296 adding manifests |
296 .. searching for changes |
297 adding file changes |
297 .. adding changesets |
298 added 5 changesets with 5 changes to 5 files (+1 heads) |
298 .. adding manifests |
299 $ qlog -R ../other-old |
299 .. adding file changes |
300 4 |
300 .. added 5 changesets with 5 changes to 5 files (+1 heads) |
301 - 909a0fb57e5d |
301 .. $ qlog -R ../other-ol |
302 3 |
302 .. 4 |
303 - 725c380fe99b |
303 .. - 909a0fb57e5d |
304 2 |
304 .. 3 |
305 - 0d3f46688ccc |
305 .. - 725c380fe99b |
306 1 |
306 .. 2 |
307 - 7c3bad9141dc |
307 .. - 0d3f46688ccc |
308 0 |
308 .. 1 |
309 - 1f0dee641bb7 |
309 .. - 7c3bad9141dc |
|
310 .. 0 |
|
311 .. - 1f0dee641bb7 |
310 |
312 |
311 clone support |
313 clone support |
312 |
314 |
313 $ hg clone . ../cloned |
315 $ hg clone . ../cloned |
314 > # The warning should go away once we have default value to set ready before we pull |
316 > # The warning should go away once we have default value to set ready before we pull |