diff tests/test-phases.t @ 51124:80bda4254b84

unstable: do not consider internal phases when computing unstable The revisions that are not part of the "working" set by other means should not be considered for the evolution related computation. This impact the test introduced in 5f9af8422b31 as this is actually a more semantic fix of the issue.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 06 Nov 2023 23:17:10 +0100
parents 5ae05937b98f
children eababb7b4a82
line wrap: on
line diff
--- a/tests/test-phases.t	Mon Nov 06 23:15:58 2023 +0100
+++ b/tests/test-phases.t	Mon Nov 06 23:17:10 2023 +0100
@@ -1001,18 +1001,20 @@
      summary:     A
   
 The hidden commit is an orphan but doesn't show up without --hidden
+And internal changesets are not considered for unstability.
 
   $ hg debugobsolete `hg id --debug -ir 0`
   1 new obsolescence markers
   obsoleted 1 changesets
-  $ hg --hidden log -G -r 'unstable()'
-  *  changeset:   1:c01c42dffc7f
+  $ hg --hidden log -G -r '(0::) - 0'
+  o  changeset:   1:c01c42dffc7f
   |  tag:         tip
   ~  user:        test
      date:        Thu Jan 01 00:00:00 1970 +0000
-     instability: orphan
      summary:     my test internal commit
   
+  $ hg --hidden log -G -r 'unstable()'
+
   $ hg log -G -r 'unstable()'