Exemplo n.º 1
0
        public IBuildConfigXml ReadAsOf(string projectId, string buildConfigId, DateTime asOfDateTime)
        {
            _gitRepository.CheckoutMostRecentCommitBefore("master", asOfDateTime);

            var buildConfigXml = ReadBuildConfigXmlContents(projectId, buildConfigId);

            _gitRepository.CheckoutBranch("master");

            return(buildConfigXml);
        }