##// END OF EJS Templates
Bugfix for empty diff
marcink -
r349:031152a5 default
parent child Browse files
Show More
@@ -182,6 +182,8 b' class FilesController(BaseController):'
182 else:
182 else:
183 #default option
183 #default option
184 c.cur_diff = diff.as_html()
184 c.cur_diff = diff.as_html()
185
186 if not c.cur_diff: c.no_changes = True
185 return render('files/file_diff.html')
187 return render('files/file_diff.html')
186
188
187 def _get_history(self, repo, node, f_path):
189 def _get_history(self, repo, node, f_path):
General Comments 0
You need to be logged in to leave comments. Login now