<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def initrepo(repopath, bare, shared):
 """ Initialize an activegit repo. Default makes base shared repo that should be cloned for users """


    ag = activegit.ActiveGit(repopath, bare=bare, shared=shared)