Mercurial > evolve
diff tests/test-obsolete.t @ 80:5d029a358252
[obsolete] add kill support
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 14 Sep 2011 19:52:57 +0200 |
parents | 9906560f585e |
children | 8ad5c760c708 |
line wrap: on
line diff
--- a/tests/test-obsolete.t Wed Sep 14 19:20:38 2011 +0200 +++ b/tests/test-obsolete.t Wed Sep 14 19:52:57 2011 +0200 @@ -265,10 +265,42 @@ $ hg up null 0 files updated, 0 files merged, 4 files removed, 0 files unresolved - $ mkcommit toto # 8 + $ mkcommit toto # 9 created new head - $ hg debugobsolete 8 0 - 159dfc9fa5d3 try to obsolete immutable changeset 1f0dee641bb7 + $ hg id -n + 9 + $ hg debugobsolete 9 0 + 83b5778897ad try to obsolete immutable changeset 1f0dee641bb7 $ qlog -r 'obsolete()' 3 - 0d3f46688ccc +allow to just kill changeset + + $ qlog + 9 + - 83b5778897ad + 8 + - 159dfc9fa5d3 + 4 + - 725c380fe99b + 3 + - 0d3f46688ccc + 1 + - 7c3bad9141dc + 0 + - 1f0dee641bb7 + + $ hg debugobsolete null 9 + $ hg up null -q # to be not based on 9 anymore + $ qlog + 8 + - 159dfc9fa5d3 + 4 + - 725c380fe99b + 3 + - 0d3f46688ccc + 1 + - 7c3bad9141dc + 0 + - 1f0dee641bb7 +