Configure each Mercurial repository in a separate <HgRepo> element.
Give each repo a unique name using the id attribute, for
example id="xoom-revisions".
The body of
<HgRepo> contains the following elements:
- <ShouldClone>: if true, the local repository will be
cloned from the remote repository if it doesn't exist at the time the script is run.
- <RemoteUrl>: specifies the URL of the remote repository from which
the local repository will be cloned (if cloning is enabled) and which will be used to pull
and push the configuration information (if pulling and pushing are enabled, see
below).
- <LocalRepo>: the path to the location of the local repository. If
cloning is not enabled, then the repository must be created before the script is run.
- <ShouldPullAndPush>: if true, the information will be
pulled from the remote repository (see <RemoteUrl>
above) before Xoom queries are run, and pushed to the remote repository after
the commit.
Mercurial template from the configuration file
<HgRepo>
<ShouldClone>true</ShouldClone>
<RemoteUrl>hg-repo-url</RemoteUrl>
<LocalRepo>C:\Path\To\Local\Repo</LocalRepo>
<ShouldPullAndPush>true</ShouldPullAndPush>
…