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/23 18:42:08 UTC

[04/50] [abbrv] git commit: [#6102] update repo_clone_task_failed event to match related changes in aff89824

[#6102] update repo_clone_task_failed event to match related changes in aff89824


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/11c9c489
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/11c9c489
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/11c9c489

Branch: refs/heads/cj/5120
Commit: 11c9c489eefbd0a0bda423ecbc43bf391ee3dd56
Parents: 1958598
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Apr 12 20:34:11 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Mon Apr 15 23:48:05 2013 +0000

----------------------------------------------------------------------
 Allura/allura/tasks/repo_tasks.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/11c9c489/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 03ce1f2..505786f 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -100,8 +100,7 @@ def reclone_repo(*args, **kwargs):
             text='Repository %s/%s created' % (
                 c.project.shortname, c.app.config.options.mount_point))
     except Exception, e:
-        source_url = source_path or source_url
-        g.post_event('repo_clone_task_failed', source_url, traceback.format_exc())
+        g.post_event('repo_clone_task_failed', source_url, source_path, traceback.format_exc())
 
 @task
 def tarball(revision=None):