def p_template_inst_impl2(p):
    node = enaml_ast.TemplateInst()
    node.lineno = p.lineno(1)
    node.name = p[1]
    node.arguments = p[2]
    node.identifiers = p[4]
    node.body = filter(None, [p[6]])
    _validate_template_inst(node, p.lexer.lexer)
    p[0] = node
Function will check for mercurial repository in given path and return
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_template_inst_impl2--crossover with--dataset/ETHPy150Open codeinn/vcs/vcs/backends/hg/repository.py/MercurialRepository._get_repo