Exemplo n.º 1
0
 private ChangeSetHistory GetRawHistory(string repoName)
 {
     using (var cache = new Cache())
     {
         var provider = new GitProvider();
         provider.Initialize(RepoBuilder.GetRepoPath(repoName), cache.ToString(), null);
         var(history, graph) = provider.GetRawHistory(null);
         return(history);
     }
 }
Exemplo n.º 2
0
 private ChangeSetHistory GetCleanHistory(string repoName)
 {
     using (var cache = new Cache())
     {
         var provider = new GitProvider();
         provider.Initialize(RepoBuilder.GetRepoPath(repoName), cache.ToString(), null);
         provider.UpdateCache(null, false, null);
         return(provider.QueryChangeSetHistory());
     }
 }