sapling/mercurial/help
Matt Harbison 6d898e296f serve: add support for Mercurial subrepositories
I've been using `hg serve --web-conf ...` with a simple '/=projects/**' [paths]
configuration for awhile without issue.  Let's ditch the need for the manual
configuration in this case, and limit the repos served to the actual subrepos.

This doesn't attempt to handle the case where a new subrepo appears while the
server is running.  That could probably be handled with a hook if somebody wants
it.  But it's such a rare case, it probably doesn't matter for the temporary
serves.

The main repo is served at '/', just like a repository without subrepos.  I'm
not sure why the duplicate 'adding ...' lines appear on Linux.  They don't
appear on Windows (see 3f4ff1bdf101), so they are optional.

Subrepositories that are configured with '../path' or absolute paths are not
cloneable from the server.  (They aren't cloneable locally either, unless they
also exist at their configured source, perhaps via the share extension.)  They
are still served, so that they can be browsed, or cloned individually.  If we
care about that cloning someday, we can probably just add the extra entries to
the webconf dictionary.  Even if the entries use '../' to escape the root, only
the related subrepositories would end up in the dictionary.
2017-04-15 18:05:40 -04:00
..
internals help: fix layout of pre-formatted text 2017-03-09 12:55:48 +09:00
bundlespec.txt help: document bundle specifications 2017-04-01 13:42:06 -07:00
color.txt color: update main documentation 2017-02-21 20:04:55 +01:00
common.txt doc: make man and html from translated documents 2013-07-03 21:49:43 +09:00
config.txt url: support auth.cookiesfile for adding cookies to HTTP requests 2017-03-09 22:40:52 -08: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 ui: drop template aliases by HGPLAIN 2016-03-27 21:05:55 +09: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 filemerge: switch the default name for internal tools from internal:x to :x 2014-09-28 17:15:28 +02:00
pager.txt pager: add a config knob to just globally turn off the pager 2017-02-07 17:13:25 -05:00
patterns.txt match: adding support for matching files inside a directory 2017-02-13 15:39:29 -08:00
phases.txt phases: mention how to make secret commits in help 2015-12-22 20:10:22 +00:00
revisions.txt help: eliminate duplicate text for revset string patterns 2017-01-07 23:35:35 -05: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: merge the various operator sections of revsets, filesets and templates 2017-01-08 12:05:10 -05:00
urls.txt help: stop documentation markup appearing in generated help 2013-05-15 22:19:12 +01:00