summaryrefslogtreecommitdiffstats
path: root/doc/server/plugins/version/hg.txt
blob: 747699f0e366f0272f6aad595fbc3b36565577b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. -*- mode: rst -*-

.. _server-plugins-version-hg:

==============
Mercurial (Hg)
==============

Why use the Mercurial plugin
============================

The Hg plugin is useful if you would like to track changes to
your Bcfg2 repository using `Hg <http://mercurial.selenic.com/>`_
backend. Currently, it enables you to get revision information out of
your repository for reporting purposes.

How to enable the Mercurial plugin
==================================

You will need to install Mercurial on the Bcfg2 server first.

Simply add Hg to your plugins line in ``/etc/bcfg2.conf``::

    [server]
    plugins = Base,Bundler,Cfg,...,Hg