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/05/15 21:27:34 UTC

[5/5] git commit: [#5644] remove duplication

[#5644] remove duplication


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

Branch: refs/heads/master
Commit: 6c43eac6be549f1c36b82f90eb8470466822cc1c
Parents: fb4b541
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed May 15 19:23:20 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed May 15 19:23:48 2013 +0000

----------------------------------------------------------------------
 ForgeSVN/forgesvn/controllers.py |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6c43eac6/ForgeSVN/forgesvn/controllers.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/controllers.py b/ForgeSVN/forgesvn/controllers.py
index 1706483..44d1a69 100644
--- a/ForgeSVN/forgesvn/controllers.py
+++ b/ForgeSVN/forgesvn/controllers.py
@@ -29,11 +29,7 @@ class BranchBrowser(repository.BranchBrowser, FeedController):
         super(BranchBrowser, self).__init__(None)
 
     def get_feed(self, project, app, user):
-        query = dict(project_id=project._id, app_config_id=app.config._id)
-        pname, repo =  (project.shortname, app.config.options.mount_label)
-        title = '%s %s changes' % (pname, repo)
-        description = 'Recent changes to %s repository in %s project' % (repo, pname)
-        return FeedArgs(query, title, app.url, description=description)
+        return repository.RepoRootController().get_feed(project, app, user)
 
     @expose('jinja:forgesvn:templates/svn/index.html')
     @with_trailing_slash