mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
docs: document new config knob for externals support
This commit is contained in:
parent
7c58c1f2dd
commit
5821f680b6
@ -98,8 +98,9 @@ accepted by several Mercurial commands for specifying revisions. See
|
|||||||
Support for externals
|
Support for externals
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
When using a standard layout, ``svn:externals`` properties are serialized into
|
When using a standard layout, ``svn:externals`` properties are (by
|
||||||
a single ``.hgsvnexternals`` file having the following syntax::
|
default) serialized into a single ``.hgsvnexternals`` file having the
|
||||||
|
following syntax::
|
||||||
|
|
||||||
[.]
|
[.]
|
||||||
common1 http://path/to/external/svn/repo1
|
common1 http://path/to/external/svn/repo1
|
||||||
@ -124,6 +125,11 @@ will not be pushed to the related Subversion repository, but its
|
|||||||
contents **will** be used to update ``svn:externals`` properties on the
|
contents **will** be used to update ``svn:externals`` properties on the
|
||||||
related Subversion repository.
|
related Subversion repository.
|
||||||
|
|
||||||
|
Alternatively, one can use the ``hgsubversion.externals`` in hgrc to
|
||||||
|
specify ``subrepos`` as the externals mode. In this mode, ``.hgsub``
|
||||||
|
and ``.hgsubstate`` files will be used instead of
|
||||||
|
``.hgsvnexternals``. This feature requires Mercurial 1.7.1 or later.
|
||||||
|
|
||||||
Limitations
|
Limitations
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
@ -231,6 +237,12 @@ settings:
|
|||||||
using very old versions of Subversion, and hgsubversion falls back to it
|
using very old versions of Subversion, and hgsubversion falls back to it
|
||||||
when necessary.
|
when necessary.
|
||||||
|
|
||||||
|
``hgsubversion.externals``
|
||||||
|
Set to ``subrepos`` to switch to subrepos-based externals support
|
||||||
|
(requires Mercurial 1.7.1 or later.) Default is ``svnexternals``,
|
||||||
|
which uses a custom hgsubversion-specific format and works on
|
||||||
|
older versions of Mercurial.
|
||||||
|
|
||||||
The following options only have an effect on the initial clone of a repository:
|
The following options only have an effect on the initial clone of a repository:
|
||||||
|
|
||||||
``hgsubversion.layout``
|
``hgsubversion.layout``
|
||||||
|
Loading…
Reference in New Issue
Block a user