Show More
@@ -328,8 +328,8 b' def handle_git_receive(repo_path, revs, ' | |||
|
328 | 328 | |
|
329 | 329 | baseui = make_ui('db') |
|
330 | 330 | # fix if it's not a bare repo |
|
331 | if repo_path.endswith('.git'): | |
|
332 |
repo_path = repo_path[:- |
|
|
331 | if repo_path.endswith(os.sep + '.git'): | |
|
332 | repo_path = repo_path[:-5] | |
|
333 | 333 | |
|
334 | 334 | repo = Repository.get_by_full_path(repo_path) |
|
335 | 335 | if not repo: |
General Comments 0
You need to be logged in to leave comments.
Login now