Show More
@@ -44,16 +44,15 b' class StubVCSController(simplevcs.Simple' | |||||
44 |
|
44 | |||
45 | def __init__(self, *args, **kwargs): |
|
45 | def __init__(self, *args, **kwargs): | |
46 | super(StubVCSController, self).__init__(*args, **kwargs) |
|
46 | super(StubVCSController, self).__init__(*args, **kwargs) | |
47 |
self. |
|
47 | self._action = 'pull' | |
48 |
self. |
|
48 | self._name = HG_REPO | |
49 |
self. |
|
49 | self.set_repo_names(None) | |
50 | self.is_shadow_repo = False |
|
|||
51 |
|
50 | |||
52 | def _get_repository_name(self, environ): |
|
51 | def _get_repository_name(self, environ): | |
53 |
return |
|
52 | return self._name | |
54 |
|
53 | |||
55 | def _get_action(self, environ): |
|
54 | def _get_action(self, environ): | |
56 |
return |
|
55 | return self._action | |
57 |
|
56 | |||
58 | def _create_wsgi_app(self, repo_path, repo_name, config): |
|
57 | def _create_wsgi_app(self, repo_path, repo_name, config): | |
59 | def fake_app(environ, start_response): |
|
58 | def fake_app(environ, start_response): |
General Comments 0
You need to be logged in to leave comments.
Login now