public void PartialMap(string startRevision, IPathSelector[] pathSelectors) { MappingController mapping = GetConfiguredType <MappingController>(); mapping.StartRevision = startRevision; mapping.RegisterMapper(GetConfiguredType <CommitMapperForExistentRevision>()); var fileMapper = GetConfiguredType <ProjectFileMapper>(); fileMapper.PathSelectors = pathSelectors; mapping.RegisterMapper(fileMapper); mapping.KeepOnlyMappers(new Type[] { typeof(Commit), typeof(ProjectFile), typeof(Modification), typeof(CodeBlock) }); Map(mapping); }