sapling/mercurial/help
Gregory Szorc 8509056f34 sparse: add a requirement when a repository uses sparse (BC)
The presence of a sparse checkout can confuse legacy clients or
clients without sparse enabled for reasons that should be obvious.

This commit introduces a new repository requirement that tracks
whether sparse is enabled. The requirement is added when a sparse
config is activated and removed when the sparse config is reset.

The localrepository constructor has been taught to not open repos
with this requirement unless the sparse feature is enabled. It yields
a more actionable error message than what you would get if the
lockout were handled strictly at the requirements verification phase.
Old clients that aren't sparse aware will see the generic
"repository requires features unknown to this Mercurial" error,
however.

The new requirement has "exp" in its name to reflect the
experimental nature of sparse. There's a chance that the eventual
non-experimental feature won't change significantly and we could
have squatted on the "sparse" requirement without ill effect. If
that happens, we can teach new clients to still recognize the old
name. But I suspect we'll sneak in some BC and we'll want a new
requirement to convey new meaning.

Differential Revision: https://phab.mercurial-scm.org/D110
2017-07-17 11:45:38 -07:00
..
internals sparse: add a requirement when a repository uses sparse (BC) 2017-07-17 11:45:38 -07:00
bundlespec.txt help: fix typos 2017-05-31 19:23:23 -03:00
color.txt help: fix typos 2017-05-31 19:23:23 -03:00
common.txt doc: make man and html from translated documents 2013-07-03 21:49:43 +09:00
config.txt merge with stable 2017-07-05 11:55:26 -04:00
dates.txt doc: fix internal date sample (issue4072) 2013-10-29 21:54:49 +02:00
diffs.txt help: refer to user configuration file more consistently 2010-08-27 22:36:35 -04:00
environment.txt help: call out specific replacement configuration settings 2017-05-03 22:56:53 -04:00
extensions.txt doc: make it easier to read how to enable extensions 2013-06-06 14:05:03 -04:00
filesets.txt help: fix example of revs() fileset 2017-03-09 11:01:03 +09:00
glossary.txt glossary: fixup use of periods at end of entries 2015-08-28 12:18:12 -04:00
hg-ssh.8.txt help: replace selenic.com by mercurial-scm.org in man pages 2016-11-01 20:39:36 +09:00
hg.1.txt misc: update year in copyright lines 2017-02-12 02:23:33 +09:00
hgignore.5.txt misc: update year in copyright lines 2017-02-12 02:23:33 +09:00
hgignore.txt help: add documentation on include: and subinclude: 2015-05-20 14:54:09 -07:00
hgrc.5.txt misc: update year in copyright lines 2017-02-12 02:23:33 +09:00
hgweb.txt spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
merge-tools.txt help: describe about choice of :prompt as a fallback merge tool explicitly 2017-05-06 02:33:00 +09:00
pager.txt help: clarify the choice of pager 2017-06-02 10:44:40 +02:00
patterns.txt help: correct description of "glob:foo/*" matching 2017-06-12 11:24:21 -07:00
phases.txt phases: mention how to make secret commits in help 2015-12-22 20:10:22 +00:00
revisions.txt help: apply bulk fixes for indentation and literal blocking issues 2017-05-01 05:52:32 +09:00
scripting.txt help: update link to wiki/CommandServer 2016-08-04 10:42:03 +08:00
subrepos.txt serve: add support for Mercurial subrepositories 2017-04-15 18:05:40 -04:00
templates.txt help: spelling fixes 2017-05-03 22:07:47 -04:00
urls.txt help: stop documentation markup appearing in generated help 2013-05-15 22:19:12 +01:00