# HG changeset patch # User Tony Bussieres # Date 2012-03-13 02:03:08 # Node ID 462a845c925c7cbc7a1aaa6ac229fbddcba1040c # Parent d5527cebf76a2a747eba9d1121683ffc18cd9e6a Making RhodeCode ready for dulwich 0.8.4 diff --git a/requires.txt b/requires.txt --- a/requires.txt +++ b/requires.txt @@ -9,9 +9,9 @@ whoosh>=2.3.0,<2.4 celery>=2.2.5,<2.3 babel python-dateutil>=1.5.0,<2.0.0 -dulwich>=0.8.0,<0.9.0 +dulwich>=0.8.4,<0.9.0 webob==1.0.8 markdown==2.1.1 docutils==0.8.1 py-bcrypt -mercurial>=2.1,<2.2 \ No newline at end of file +mercurial>=2.1,<2.2 diff --git a/rhodecode/lib/middleware/simplegit.py b/rhodecode/lib/middleware/simplegit.py --- a/rhodecode/lib/middleware/simplegit.py +++ b/rhodecode/lib/middleware/simplegit.py @@ -65,7 +65,7 @@ dulserver.DEFAULT_HANDLERS = { } from dulwich.repo import Repo -from dulwich.web import HTTPGitApplication +from dulwich.web import make_wsgi_chain from paste.httpheaders import REMOTE_USER, AUTH_TYPE @@ -205,7 +205,7 @@ class SimpleGit(BaseVCSController): """ _d = {'/' + repo_name: Repo(repo_path)} backend = dulserver.DictBackend(_d) - gitserve = HTTPGitApplication(backend) + gitserve = make_wsgi_chain(backend) return gitserve