allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [46/50] [abbrv] git commit: [#5644] remove duplication
Date Thu, 16 May 2013 22:30:37 GMT
[#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/db/6208
Commit: 6c43eac6be549f1c36b82f90eb8470466822cc1c
Parents: fb4b541
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed May 15 19:23:20 2013 +0000
Committer: Dave Brondsema <dbrondsema@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


Mime
View raw message