Initialized the repository with current source.