Show More
@@ -1250,7 +1250,7 b' class RepoFilesView(RepoAppView):' | |||||
1250 | default_redirect_url = h.route_path('repo_commit', repo_name=self.db_repo_name, |
|
1250 | default_redirect_url = h.route_path('repo_commit', repo_name=self.db_repo_name, | |
1251 | commit_id=commit_id) |
|
1251 | commit_id=commit_id) | |
1252 | if content == old_content and node_path == org_node_path: |
|
1252 | if content == old_content and node_path == org_node_path: | |
1253 | h.flash(_('No changes detected on {}').format(org_node_path), |
|
1253 | h.flash(_('No changes detected on {}').format(h.escape(org_node_path)), | |
1254 | category='warning') |
|
1254 | category='warning') | |
1255 | raise HTTPFound(default_redirect_url) |
|
1255 | raise HTTPFound(default_redirect_url) | |
1256 |
|
1256 |
General Comments 0
You need to be logged in to leave comments.
Login now