##// END OF EJS Templates
Merged in codingtony/rhodecode (pull request #36)
marcink -
r2139:46b67235 merge beta
parent child Browse files
Show More
@@ -9,9 +9,9 b' whoosh>=2.3.0,<2.4'
9 celery>=2.2.5,<2.3
9 celery>=2.2.5,<2.3
10 babel
10 babel
11 python-dateutil>=1.5.0,<2.0.0
11 python-dateutil>=1.5.0,<2.0.0
12 dulwich>=0.8.0,<0.9.0
12 dulwich>=0.8.4,<0.9.0
13 webob==1.0.8
13 webob==1.0.8
14 markdown==2.1.1
14 markdown==2.1.1
15 docutils==0.8.1
15 docutils==0.8.1
16 py-bcrypt
16 py-bcrypt
17 mercurial>=2.1,<2.2 No newline at end of file
17 mercurial>=2.1,<2.2
@@ -57,7 +57,7 b' requirements = ['
57 "celery>=2.2.5,<2.3",
57 "celery>=2.2.5,<2.3",
58 "babel",
58 "babel",
59 "python-dateutil>=1.5.0,<2.0.0",
59 "python-dateutil>=1.5.0,<2.0.0",
60 "dulwich>=0.8.0,<0.9.0",
60 "dulwich>=0.8.4,<0.9.0",
61 "webob==1.0.8",
61 "webob==1.0.8",
62 "markdown==2.1.1",
62 "markdown==2.1.1",
63 "docutils==0.8.1",
63 "docutils==0.8.1",
@@ -65,7 +65,7 b' dulserver.DEFAULT_HANDLERS = {'
65 }
65 }
66
66
67 from dulwich.repo import Repo
67 from dulwich.repo import Repo
68 from dulwich.web import HTTPGitApplication
68 from dulwich.web import make_wsgi_chain
69
69
70 from paste.httpheaders import REMOTE_USER, AUTH_TYPE
70 from paste.httpheaders import REMOTE_USER, AUTH_TYPE
71
71
@@ -205,7 +205,7 b' class SimpleGit(BaseVCSController):'
205 """
205 """
206 _d = {'/' + repo_name: Repo(repo_path)}
206 _d = {'/' + repo_name: Repo(repo_path)}
207 backend = dulserver.DictBackend(_d)
207 backend = dulserver.DictBackend(_d)
208 gitserve = HTTPGitApplication(backend)
208 gitserve = make_wsgi_chain(backend)
209
209
210 return gitserve
210 return gitserve
211
211
General Comments 0
You need to be logged in to leave comments. Login now