diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index f5373aa5..e7c0859f 100644 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -180,7 +180,7 @@ namespace SparkleLib { } - public virtual List GetChangeSets (int count) { + public virtual List GetChangeSets (int since_days_ago) { return null; } diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 97a2987a..5c6fb265 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -280,11 +280,10 @@ 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 (log_size); + return repo.GetChangeSets (7); } return null;