##// END OF EJS Templates
env-variables: make it safer if there's a syntax problem inside .ini file....
env-variables: make it safer if there's a syntax problem inside .ini file. It's better to not crash, since it means server wont start. Let users fix problems instead of breaking the startup because of that.

File last commit:

r1:854a839a default
r3237:5cf82ecc default
Show More
repo-vcs.rst
48 lines | 1.7 KiB | text/x-rst | RstLexer
project: added all source files and assets
r1 .. _per-repo-vcs:
Repository VCS Settings
=======================
You can configure |repo| VCS (Version Control System) settings at a global
level, and individually per |repo|. Global settings are applied by default.
If you configure individual settings per |repo|, these will remain unaffected
by any subsequent global changes.
Set Global Repository Settings
------------------------------
To configure |repo| settings across your |RCE| instance use the following steps:
1. Go to to the :menuselection:`Admin --> Settings --> VCS` page.
2. Configure the following |repo| options:
* :guilabel:`Web`: Require SSL if necessary.
* :guilabel:`Hooks`: Enable built in hooks.
* :guilabel:`Mercurial Settings`: Configure |hg| specific settings.
* :guilabel:`Repositories Location`: Set the file system |repos| location.
* :guilabel:`Subversion Settings`: Configure |svn| specific settings.
* :guilabel:`Pull Request Settings`: Enable the listed additional |pr|
features.
3. Click :guilabel:`Save`.
Set Individual Repository Settings
----------------------------------
To configure specific VCS settings for an individual |repo|, use the following
steps:
1. Go to to the :menuselection:`Admin --> Repositories --> Edit --> VCS` page.
2. Uncheck the :guilabel:`Inherit from global settings` box.
3. Configure the following |repo| options:
* :guilabel:`Hooks`: Enable built in hooks.
* :guilabel:`Mercurial Settings` (|hg| Only): Configure |hg| specific
settings.
* :guilabel:`Subversion Settings` (|svn| Only): Configure |svn| specific
settings.
* :guilabel:`Pull Request Settings` (|git| and |hg| Only): Enable the
listed additional |pr| features.
3. Click :guilabel:`Save`.