##// END OF EJS Templates
fix pygrack call on non-bare repos
marcink -
r2502:9374eeca beta
parent child Browse files
Show More
@@ -189,7 +189,8 class GitDirectory(object):
189 except (AssertionError, OSError):
189 except (AssertionError, OSError):
190 if os.path.isdir(os.path.join(content_path, '.git')):
190 if os.path.isdir(os.path.join(content_path, '.git')):
191 app = GitRepository(self.repo_name,
191 app = GitRepository(self.repo_name,
192 os.path.join(content_path, '.git'))
192 os.path.join(content_path, '.git'),
193 self.username)
193 else:
194 else:
194 return exc.HTTPNotFound()(environ, start_response, self.username)
195 return exc.HTTPNotFound()(environ, start_response, self.username)
195 return app(environ, start_response)
196 return app(environ, start_response)
General Comments 0
You need to be logged in to leave comments. Login now