Source

fabulator / src / fabulator / core / vc / __init__.py

Full commit
1
2
3
4
5
6
7
8
9
from mercurial import Mercurial

vcs = {
    "hg" : Mercurial,
    "mercurial" : Mercurial
}

def vc_factory(vc, conf, env):
    return vcs[vc.lower()](conf, env)