diff rhodecode/config/routing.py @ 1114:4de3fa6290a7 beta

#109, added manual pull of changes for repositories that have remote location filled in. This also logs this action in journal
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 05 Mar 2011 22:59:41 +0100
parents fee472613dfa
children 0e6035a85980
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Sat Mar 05 22:00:53 2011 +0100
+++ b/rhodecode/config/routing.py	Sat Mar 05 22:59:41 2011 +0100
@@ -89,6 +89,10 @@
         m.connect('repo_public_journal', "/repos_public_journal/{repo_name:.*}",
              action="repo_public_journal", conditions=dict(method=["PUT"],
                                                         function=check_repo))
+        m.connect('repo_pull', "/repo_pull/{repo_name:.*}",
+             action="repo_pull", conditions=dict(method=["PUT"],
+                                                        function=check_repo))
+
 
     #ADMIN USER REST ROUTES
     routes_map.resource('user', 'users', controller='admin/users', path_prefix='/_admin')