diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index e7c0859f..f5373aa5 100644 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -180,7 +180,7 @@ namespace SparkleLib { } - public virtual List GetChangeSets (int since_days_ago) { + public virtual List GetChangeSets (int count) { return null; } diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index d5519a99..8545a217 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -280,10 +280,11 @@ namespace SparkleShare { return GetLog (); string path = Path.Combine (SparklePaths.SparklePath, name); - + int log_size = 50; + foreach (SparkleRepoBase repo in Repositories) { if (repo.LocalPath.Equals (path)) - return repo.GetChangeSets (7); + return repo.GetChangeSets (log_size); } return null;