##// END OF EJS Templates
files: report the name of missing commit.
marcink -
r4371:2cb1cdad stable
parent child Browse files
Show More
@@ -181,8 +181,8 b' class RepoFilesView(RepoAppView):'
181 raise HTTPFound(
181 raise HTTPFound(
182 h.route_path('repo_summary', repo_name=self.db_repo_name))
182 h.route_path('repo_summary', repo_name=self.db_repo_name))
183
183
184 except (CommitDoesNotExistError, LookupError):
184 except (CommitDoesNotExistError, LookupError) as e:
185 msg = _('No such commit exists for this repository')
185 msg = _('No such commit exists for this repository. Commit: {}').format(commit_id)
186 h.flash(msg, category='error')
186 h.flash(msg, category='error')
187 raise HTTPNotFound()
187 raise HTTPNotFound()
188 except RepositoryError as e:
188 except RepositoryError as e:
General Comments 0
You need to be logged in to leave comments. Login now