Patchwork [3,of,3,V2] repoview: flag `server.view` as experimental

login
register
mail settings
Submitter Pierre-Yves David
Date April 16, 2019, 6:26 p.m.
Message ID <87d373ff578d10b2c2e9.1555439180@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/39662/
State Accepted
Headers show

Comments

Pierre-Yves David - April 16, 2019, 6:26 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1555079159 -7200
#      Fri Apr 12 16:25:59 2019 +0200
# Node ID 87d373ff578d10b2c2e99205add8c4c960102a94
# Parent  898753ab5830bed2a7e16639a746376fa447577f
# EXP-Topic repoview
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 87d373ff578d
repoview: flag `server.view` as experimental

Ideally, the non-experimental version of `experimental.extra-filter-revs` will
cover the use case for `server.view=immutable` well enough than having to have
this dedicated configuration. Since `server.view` is not part of any release, I
would prefer to have it marked as experimental to avoid having it to support it
for ever.

Patch

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -2050,7 +2050,8 @@  Controls generic server settings.
     Repository filter used when exchanging revisions with the peer.
 
     The default view (``served``) excludes secret and hidden changesets.
-    Another useful value is ``immutable`` (no draft, secret or hidden changesets).
+    Another useful value is ``immutable`` (no draft, secret or hidden
+    changesets). (EXPERIMENTAL)
 
 ``smtp``
 --------