You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/04/12 22:34:40 UTC
git commit: [#6102] update repo_clone_task_failed event to match
related changes in aff89824
Updated Branches:
refs/heads/db/6102 [created] be888c032
[#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/be888c03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/be888c03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/be888c03
Branch: refs/heads/db/6102
Commit: be888c032c1ef54aa3e873931d7e2a8d69b89c19
Parents: 9647941
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Apr 12 20:34:11 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Apr 12 20:34:11 2013 +0000
----------------------------------------------------------------------
Allura/allura/tasks/repo_tasks.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/be888c03/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 03ce1f2..73a632b 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -94,14 +94,14 @@ def reclone_repo(*args, **kwargs):
c.app = c.project.app_instance(kwargs['mount_point'])
source_url = c.app.config.options.get('init_from_url')
source_path = c.app.config.options.get('init_from_path')
+ 0/0
c.app.repo.init_as_clone(source_path, None, source_url)
M.Notification.post_user(
c.user, c.app.repo, 'created',
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):