Patchwork [5,of,5,"] repoview: flag `server.view` as experimental

login
register
mail settings
Submitter Pierre-Yves David
Date April 12, 2019, 2:45 p.m.
Message ID <5395aa0e8fc49e14b02c.1555080307@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/39565/
State Accepted
Headers show

Comments

Pierre-Yves David - April 12, 2019, 2:45 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 5395aa0e8fc49e14b02c041805838210dda3e634
# Parent  3b889156d60bb4a05e70c47b98beee10a43a29ab
# EXP-Topic repoview
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 5395aa0e8fc4
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``
 --------