Mercurial > hg
diff tests/test-rebase-obsolete.t @ 33542:b11e8c67fb0f
debugobsolete: also report the number of obsoleted changesets
This seems useful to have the number of obsoleted changesets when calling
debugobsolete.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 16 Jul 2017 02:33:14 +0200 |
parents | 3b7cb3d17137 |
children | 03039ff3082b |
line wrap: on
line diff
--- a/tests/test-rebase-obsolete.t Sun Jul 16 02:20:06 2017 +0200 +++ b/tests/test-rebase-obsolete.t Sun Jul 16 02:33:14 2017 +0200 @@ -555,6 +555,7 @@ $ hg add J $ hg commit -m J $ hg debugobsolete `hg log --rev . -T '{node}'` + obsoleted 1 changesets $ hg rebase --rev .~1::. --dest 'max(desc(D))' --traceback --config experimental.rebaseskipobsolete=off rebasing 9:4bde274eefcf "I" @@ -710,6 +711,7 @@ o 0:4a2df7238c3b A $ hg debugobsolete `hg log -r 7 -T '{node}\n'` --config experimental.evolution=all + obsoleted 1 changesets $ hg rebase -d 6 -r "4::" rebasing 4:ff2c4d47b71d "C" note: not rebasing 7:360bbaa7d3ce "O", it has no successor @@ -737,6 +739,7 @@ $ hg commit -m nonrelevant created new head $ hg debugobsolete `hg log -r 11 -T '{node}\n'` --config experimental.evolution=all + obsoleted 1 changesets $ hg rebase -r . -d 10 note: not rebasing 11:f44da1f4954c "nonrelevant" (tip), it has no successor @@ -861,6 +864,7 @@ $ hg add L $ hg commit -m "dummy change" $ hg debugobsolete `hg log -r ".^" -T '{node}'` `hg log -r 19 -T '{node}'` --config experimental.evolution=all + obsoleted 1 changesets $ hg log -G -r 17:: @ 22:7bdc8a87673d dummy change