changeset 3765:4aabc5c8b2af stable

topic: dedent items about publishing behavior in docstring Also change item bullets from '#' to '*'.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Wed, 23 May 2018 11:03:31 +0200
parents f0f9139016d8
children 6352dc395ebf
files hgext3rd/topic/__init__.py tests/test-topic.t
diffstat 2 files changed, 22 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Wed May 23 11:00:11 2018 +0200
+++ b/hgext3rd/topic/__init__.py	Wed May 23 11:03:31 2018 +0200
@@ -82,22 +82,22 @@
 phase usually happens on push, but it is possible to update that behavior. The
 server needs to have specific config for this.
 
-    # everything pushed become public (the default)::
+* everything pushed become public (the default)::
 
-        [phase]
-        publish = yes
+    [phase]
+    publish = yes
 
-    # nothing push turned public::
+* nothing push turned public::
 
-        [phase]
-        publish = no
+    [phase]
+    publish = no
 
-    # topic branches are not published, changeset without topic are::
+* topic branches are not published, changeset without topic are::
 
-        [phase]
-        publish = no
-        [experimental]
-        topic.publish-bare-branch = yes
+    [phase]
+    publish = no
+    [experimental]
+    topic.publish-bare-branch = yes
 
 In addition, the topic extension adds a ``--publish`` flag on :hg:`push`. When
 used, the pushed revisions are published if the push succeeds. It also applies
--- a/tests/test-topic.t	Wed May 23 11:00:11 2018 +0200
+++ b/tests/test-topic.t	Wed May 23 11:03:31 2018 +0200
@@ -92,22 +92,22 @@
   phase usually happens on push, but it is possible to update that behavior. The
   server needs to have specific config for this.
   
-      # everything pushed become public (the default):
+  * everything pushed become public (the default):
   
-        [phase]
-        publish = yes
+      [phase]
+      publish = yes
   
-      # nothing push turned public:
+  * nothing push turned public:
   
-        [phase]
-        publish = no
+      [phase]
+      publish = no
   
-      # topic branches are not published, changeset without topic are:
+  * topic branches are not published, changeset without topic are:
   
-        [phase]
-        publish = no
-        [experimental]
-        topic.publish-bare-branch = yes
+      [phase]
+      publish = no
+      [experimental]
+      topic.publish-bare-branch = yes
   
   In addition, the topic extension adds a "--publish" flag on 'hg push'. When
   used, the pushed revisions are published if the push succeeds. It also applies