You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/02/26 19:28:01 UTC
[8/8] git commit: [#5788] Fixed bug in --limit option to
RefreshLastCommits
Updated Branches:
refs/heads/cj/5788 b6de70942 -> 850b275ae (forced update)
[#5788] Fixed bug in --limit option to RefreshLastCommits
Signed-off-by: Cory Johns <jo...@geek.net>
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/850b275a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/850b275a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/850b275a
Branch: refs/heads/cj/5788
Commit: 850b275ae3266a02b3a9c80b61ef76b8a2a09e7c
Parents: aed51bb
Author: Cory Johns <jo...@geek.net>
Authored: Tue Feb 26 18:27:34 2013 +0000
Committer: Cory Johns <jo...@geek.net>
Committed: Tue Feb 26 18:27:51 2013 +0000
----------------------------------------------------------------------
Allura/allura/scripts/refresh_last_commits.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/850b275a/Allura/allura/scripts/refresh_last_commits.py
----------------------------------------------------------------------
diff --git a/Allura/allura/scripts/refresh_last_commits.py b/Allura/allura/scripts/refresh_last_commits.py
index 882076c..5ed409a 100644
--- a/Allura/allura/scripts/refresh_last_commits.py
+++ b/Allura/allura/scripts/refresh_last_commits.py
@@ -146,7 +146,7 @@ class RefreshLastCommits(ScriptTask):
ThreadLocalORMSession.flush_all()
if i % 100 == 0:
cls._print_stats(i, timings, 100)
- if i >= options.limit:
+ if options.limit and i >= options.limit:
break
ThreadLocalORMSession.flush_all()