You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/04/01 16:43:27 UTC
git commit: [#4329] Change repo_refreshed event params
Updated Branches:
refs/heads/tv/4329 [created] e4196fef3
[#4329] Change repo_refreshed event params
Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e4196fef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e4196fef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e4196fef
Branch: refs/heads/tv/4329
Commit: e4196fef3efb95eaceaf366be0598855a2a61dc9
Parents: 9110fed
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Mon Apr 1 14:35:41 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Mon Apr 1 14:35:41 2013 +0000
----------------------------------------------------------------------
Allura/allura/model/repo_refresh.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e4196fef/Allura/allura/model/repo_refresh.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repo_refresh.py b/Allura/allura/model/repo_refresh.py
index 539df2a..69ff601 100644
--- a/Allura/allura/model/repo_refresh.py
+++ b/Allura/allura/model/repo_refresh.py
@@ -112,10 +112,8 @@ def refresh_repo(repo, all_commits=False, notify=True):
log.info('Refresh complete for %s', repo.full_fs_path)
- g.post_event(
- 'repo_refreshed',
- commit_number=len(commit_ids),
- new=bool(new_commit_ids))
+ g.post_event('repo_refreshed', len(commit_ids), all_commits)
+
# Send notifications
if notify:
send_notifications(repo, commit_ids)