ó V°"`c@@s†dZddlmZddlmZddlmZddlmZddlmZddl m Z dd l m Z e d „Zd S( uGFactory for creating and initializing the appropriate repository class i(tabsolute_import(tunicode_literals(tprint_functioni(t GitRepository(t SvnRepository(tExternalsDescription(t fatal_errorcC@s‡|tjjƒ}|dkr1t||ƒ}nR|dkrUt||d|ƒ}n.|dkrjd}ndj|ƒ}t|ƒ|S(uhDetermine what type of repository we have, i.e. git or svn, and create the appropriate object. ugitusvntignore_ancestryuexternals_onlyuUnknown repo protocol "{0}"N(RtPROTOCOLtlowerRRtNonetformatR(tcomponent_namet repo_infotsvn_ignore_ancestrytprotocoltrepotmsg((sX/gpfs/hps/nco/ops/nwpara/hiresw.v8.0.1/sorc/manage_externals/manic/repository_factory.pytcreate_repositorys     N(t__doc__t __future__RRRtrepository_gitRtrepository_svnRtexternals_descriptionRtutilsRtFalseR(((sX/gpfs/hps/nco/ops/nwpara/hiresw.v8.0.1/sorc/manage_externals/manic/repository_factory.pyts