Files
SCM-Manager/docs/subrepositories.md
2020-03-09 08:01:43 +01:00

1.4 KiB

Mercurial Subrepositories

In the following examples i will use the scm-cli-client to create the repositories, but you can also use the web interface to create the repositories.

The best way to use subrepositories with scm-manager is the following. Create a main repository and for each subrepository a mercurial repository in scm-manager. Than add the subrepositories with the complete url to the .hgsub file.

Mercurial nested repositories

If you already have nested repositories, you have to redirect the nested repository to a real scm-manager repository. This work is done by the scm-hgnested-plugin. Install the scm-hgnested-plugin from the plugin-center (requires scm-manager version 1.10 or higher). Create a repository for the main repository and for each nested repository. Configure the scm-hgnested-plugin like this.

Further reading