comparison tests/test-obsolete.t @ 150:f12fd2410a60

obsolete: improve rebase compat
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 20 Mar 2012 15:10:53 +0100
parents f387658d6d22
children 80f602e6ae8a
comparison
equal deleted inserted replaced
149:03f314e32058 150:f12fd2410a60
337 1 337 1
338 - 7c3bad9141dc 338 - 7c3bad9141dc
339 0 339 0
340 - 1f0dee641bb7 340 - 1f0dee641bb7
341 341
342 check rebase compat
343
344 $ hg --config extensions.graphlog= glog -r 'not extinct()' --template='{rev} - {node|short}\n'
345 o 8 - 159dfc9fa5d3
346 |
347 | o 4 - 725c380fe99b
348 | |
349 o | 3 - 0d3f46688ccc
350 |/
351 o 1 - 7c3bad9141dc
352 |
353 o 0 - 1f0dee641bb7
354
355
356 $ hg --config extensions.graphlog= glog --template='{rev} - {node|short}\n'
357 o 9 - 83b5778897ad
358
359 o 8 - 159dfc9fa5d3
360 |
361 | o 7 - 909a0fb57e5d
362 |/
363 | o 6 - 95de7fc6918d
364 |/
365 | o 5 - a7a6f2b5d8a5
366 |/
367 | o 4 - 725c380fe99b
368 | |
369 o | 3 - 0d3f46688ccc
370 |/
371 | o 2 - 4538525df7e2
372 |/
373 o 1 - 7c3bad9141dc
374 |
375 o 0 - 1f0dee641bb7
376
377
378 should not rebase extinct changeset
379
380 $ hg --config extensions.hgext.rebase= rebase -b 3 -d 4 --traceback
381 $ hg --config extensions.graphlog= glog -r 'not extinct()' --template='{rev} - {node|short}\n'
382 @ 11 - 9468a5f5d8b2
383 |
384 o 10 - 2033b4e49474
385 |
386 o 4 - 725c380fe99b
387 |
388 o 1 - 7c3bad9141dc
389 |
390 o 0 - 1f0dee641bb7
391
392