changeset 6499:b165d2bb5868

topic: add better title to tns report tests
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 13 Jun 2023 19:06:54 +0200
parents 7ecb0f9cc7f3
children 206fb02765bf
files tests/test-namespaces-report.t
diffstat 1 files changed, 29 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-namespaces-report.t	Fri Jun 09 11:02:13 2023 -0300
+++ b/tests/test-namespaces-report.t	Tue Jun 13 19:06:54 2023 +0200
@@ -1,3 +1,7 @@
+============================================================
+Test detection of topic name space affected by a transaction
+============================================================
+
 Reporting affected topic namespaces in transactions
 
   $ . "$TESTDIR/testlib/common.sh"
@@ -15,6 +19,8 @@
   $ hg init orig
 
 case 1: new changeset (draft with topic namespace)
+==================================================
+
 topic namespace of that changeset is reported
 
   $ hg clone orig case-1 -q
@@ -50,6 +56,8 @@
   $ cd ..
 
 case 2: obsmarker affecting known changeset
+===========================================
+
 topic namespaces of both the precursor and the successor are affected
 
   $ hg clone orig case-2 -q
@@ -74,6 +82,9 @@
 
   $ cd ..
 
+case 3: phase divergence
+========================
+
 3 phase divergence resolution can point to a thing but not affect it (probably not affected)
 
   $ hg clone orig case-3 -q
@@ -110,7 +121,9 @@
 
   $ cd ..
 
-4 phase movement: publishing drafts
+case 4: phase movement: publishing drafts
+=========================================
+
 topic namespaces of published changesets are affected
 
   $ hg clone orig case-4 -q
@@ -125,8 +138,11 @@
 
   $ cd ..
 
-5 bookmark movement that affect tns (like putting a bookmark on obsolete changesets)
-their topic namespaces reappear and are therefore reported
+case 5: bookmark movement
+=========================
+
+Bookmark movement that affect tns (like putting a bookmark on obsolete
+changesets) their topic namespaces reappear and are therefore reported
 
   $ hg clone orig case-5 -q
   $ cd orig
@@ -177,7 +193,11 @@
 
   $ cd ..
 
-6 phase movement: publishing secret changesets (that are known on the server)
+case 6: phase movement: publishing secret changesets
+====================================================
+
+(that are known on the server)
+
 topic namespaces of published changesets are affected
 
   $ hg clone orig case-6 -q
@@ -206,7 +226,9 @@
 
   $ cd ..
 
-7 phase movement: secret->draft on the server
+case 7: phase movement: secret->draft on the server
+===================================================
+
 changeset becomes visible to peers, so its topic namespace is affected
 
   $ hg clone orig case-7 -q
@@ -228,7 +250,8 @@
 
   $ cd ..
 
-99 pushing obsmarker for an unknown changeset
+case: 99 pushing obsmarker for an unknown changeset
+===================================================
 doesn't affect any topic namespace, we report nothing
 
   $ hg clone orig case-99 -q