##// END OF EJS Templates
fix pygrack for non bare git repos
marcink -
r2398:378b0247 beta
parent child Browse files
Show More
@@ -171,7 +171,8 class GitDirectory(object):
171 app = GitRepository(self.repo_name, content_path)
171 app = GitRepository(self.repo_name, content_path)
172 except (AssertionError, OSError):
172 except (AssertionError, OSError):
173 if os.path.isdir(os.path.join(content_path, '.git')):
173 if os.path.isdir(os.path.join(content_path, '.git')):
174 app = GitRepository(os.path.join(content_path, '.git'))
174 app = GitRepository(self.repo_name,
175 os.path.join(content_path, '.git'))
175 else:
176 else:
176 return exc.HTTPNotFound()(environ, start_response)
177 return exc.HTTPNotFound()(environ, start_response)
177 return app(environ, start_response)
178 return app(environ, start_response)
General Comments 0
You need to be logged in to leave comments. Login now