diff tests/test-topic.t @ 5139:19b8ffd23795

topic: option to hide topic changesets to plain client This is the first version of an option that make topic changeset hidden to client without the extension. It might become the default in the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 19 Feb 2020 01:35:23 +0100
parents a7c01a2a3974
children 7f856606d5a9 028e4ea75456 95478db35f88
line wrap: on
line diff
--- a/tests/test-topic.t	Tue Feb 04 16:22:40 2020 -0800
+++ b/tests/test-topic.t	Wed Feb 19 01:35:23 2020 +0100
@@ -120,6 +120,20 @@
     [experimental]
     topic.allow-publish = no
   
+  Server side visibility
+  ======================
+  
+  Serving changesets with topics to clients without topic extension can get
+  confusing. Such clients will have multiple anonymous heads without a clear way
+  to distinguish them. They will also "lose" the canonical heads of the branch.
+  
+  To avoid this confusion, server can be configured to only serve changesets
+  with topics to clients with the topic extension (version 9.3+). This might
+  become the default in future:
+  
+    [experimental]
+    topic.server-gate-topic-changesets = yes
+  
   list of commands:
   
   Change organization: