aboutsummaryrefslogtreecommitdiff
blob: 199910998ccc531f6b37e64148ad409d70e8c89d (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
26
# Copyright 2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

'''
Mercurial plug-in module for layman.
'''

module_spec = {
    'name': 'mercurial',
    'description': __doc__,
    'provides':{
        'mercurial-module': {
            'name': 'mercurial',
            'class': 'MercurialOverlay',
            'description': __doc__,
            'functions': ['add', 'supported', 'sync', 'update'],
            'func_desc': {
                'add': 'Performs a hg clone on a repository',
                'supported': 'Confirms if overlay type is supported',
                'sync': 'Performs a hg pull on the repository',
                'update': 'Updates a mercurial overlay\'s source URL',
            },
        }
    }
}