allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#4329] Change repo_refreshed event params
Date Mon, 01 Apr 2013 14:43:27 GMT
Updated Branches:
  refs/heads/tv/4329 [created] e4196fef3


[#4329] Change repo_refreshed event params

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@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 <tvansteenburgh@gmail.com>
Authored: Mon Apr 1 14:35:41 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@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)


Mime
View raw message