Mercurial > evolve
diff tests/test-evolve-obshistory-phase-divergent.t @ 5291:258c0a99c5b0
tests: update section headers and comments in obslog-related tests
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 05 May 2020 16:54:24 +0800 |
parents | 9eba849b4c3d |
children | 9351e6c22e74 |
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-phase-divergent.t Tue May 05 16:52:59 2020 +0800 +++ b/tests/test-evolve-obshistory-phase-divergent.t Tue May 05 16:54:24 2020 +0800 @@ -1,5 +1,4 @@ -This test file test the various messages when accessing obsolete -revisions. +Testing obslog and other commands accessing obsolete revisions. Global setup ============ @@ -7,7 +6,7 @@ $ . $TESTDIR/testlib/obshistory_setup.sh Test output with phase-divergence -=================================== +================================= Test setup ---------- @@ -66,7 +65,7 @@ Actual test ----------- -Check that debugobshistory on the divergent revision show both destinations +Check that obslog on the public revision shows both public (diverged) and draft (divergent) revisions $ hg obslog --hidden 471f378eab4c --patch @ 471f378eab4c (1) A0 reworded(description) as fdf9bde5129a using amend by test (Thu Jan 01 00:00:00 1970 +0000) @@ -123,8 +122,7 @@ "shortdescription": "A0" } ] -Check that debugobshistory on the first diverged revision show the revision -and the diverent one +Check that obslog on the draft (divergent) revision also shows public (diverged) revision $ hg obslog fdf9bde5129a --patch * fdf9bde5129a (2) A1 | @@ -139,7 +137,7 @@ -Check that all option show all of them +Check that all option shows all of them $ hg obslog fdf9bde5129a -a --patch * fdf9bde5129a (2) A1 | @@ -153,8 +151,7 @@ +A1 -Check that debugobshistory on the both diverged revision show a coherent -graph +Check that obslog on the both draft (divergent) and public (diverged) revisions shows a coherent graph $ hg obslog 'fdf9bde5129a+fdf9bde5129a' --patch * fdf9bde5129a (2) A1 |