Revert "log: get commits from the last week, instead of the last X commits"

This reverts commit fba5162e4e.
This commit is contained in:
Hylke Bons 2011-07-23 21:19:51 +01:00
parent 1804ff98ef
commit d92879d830
2 changed files with 4 additions and 3 deletions

View file

@ -180,7 +180,7 @@ namespace SparkleLib {
} }
public virtual List<SparkleChangeSet> GetChangeSets (int since_days_ago) { public virtual List<SparkleChangeSet> GetChangeSets (int count) {
return null; return null;
} }

View file

@ -280,10 +280,11 @@ namespace SparkleShare {
return GetLog (); return GetLog ();
string path = Path.Combine (SparklePaths.SparklePath, name); string path = Path.Combine (SparklePaths.SparklePath, name);
int log_size = 50;
foreach (SparkleRepoBase repo in Repositories) { foreach (SparkleRepoBase repo in Repositories) {
if (repo.LocalPath.Equals (path)) if (repo.LocalPath.Equals (path))
return repo.GetChangeSets (7); return repo.GetChangeSets (log_size);
} }
return null; return null;