Show More
@@ -68,8 +68,10 b' class RepoCompareView(RepoAppView):' | |||
|
68 | 68 | return repo.scm_instance().EMPTY_COMMIT |
|
69 | 69 | h.flash(h.literal(_('There are no commits yet')), |
|
70 | 70 | category='warning') |
|
71 | raise HTTPFound( | |
|
72 | h.route_path('repo_summary', repo_name=repo.repo_name)) | |
|
71 | if not partial: | |
|
72 | raise HTTPFound( | |
|
73 | h.route_path('repo_summary', repo_name=repo.repo_name)) | |
|
74 | raise HTTPBadRequest() | |
|
73 | 75 | |
|
74 | 76 | except RepositoryError as e: |
|
75 | 77 | log.exception(safe_str(e)) |
General Comments 0
You need to be logged in to leave comments.
Login now