allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [5/5] allura git commit: [#7965] Add support for SVN in the REST API
Date Fri, 20 May 2016 15:22:54 GMT
[#7965] Add support for SVN in the REST API


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

Branch: refs/heads/master
Commit: b8dad85800ada6aab2f14c04bc44c8900a8e5321
Parents: 5083de9
Author: rhnvrm <rohanverma2004@gmail.com>
Authored: Thu Apr 21 01:25:08 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Fri May 20 11:22:17 2016 -0400

----------------------------------------------------------------------
 ForgeSVN/forgesvn/svn_main.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/b8dad858/ForgeSVN/forgesvn/svn_main.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/svn_main.py b/ForgeSVN/forgesvn/svn_main.py
index 49df6d1..a1d3061 100644
--- a/ForgeSVN/forgesvn/svn_main.py
+++ b/ForgeSVN/forgesvn/svn_main.py
@@ -31,6 +31,7 @@ from paste.deploy.converters import asint
 import allura.tasks.repo_tasks
 from allura.controllers import BaseController
 from allura.controllers.repository import RepoRootController
+from allura.controllers.repository import RepoRestController
 from allura.lib.decorators import require_post
 from allura.lib.repository import RepositoryApp, RepoAdminController
 from allura.app import SitemapEntry, ConfigOption, AdminControllerMixin
@@ -72,6 +73,7 @@ class ForgeSVNApp(RepositoryApp):
         super(ForgeSVNApp, self).__init__(project, config)
         self.root = BranchBrowser()
         default_root = RepoRootController()
+        self.api_root = RepoRestController()
         self.root.refresh = default_root.refresh
         self.root.commit_browser = default_root.commit_browser
         self.root.commit_browser_data = SVNCommitBrowserController().commit_browser_data


Mime
View raw message