Show More
@@ -198,7 +198,6 b' class RepoChangelogView(RepoAppView):' | |||
|
198 | 198 | |
|
199 | 199 | c.changelog_for_path = f_path |
|
200 | 200 | pre_load = self._get_preload_attrs() |
|
201 | commit_ids = [] | |
|
202 | 201 | |
|
203 | 202 | partial_xhr = self.request.environ.get('HTTP_X_PARTIAL_XHR') |
|
204 | 203 | |
@@ -255,7 +254,9 b' class RepoChangelogView(RepoAppView):' | |||
|
255 | 254 | self._get_template_context(c), self.request) |
|
256 | 255 | return Response(html) |
|
257 | 256 | |
|
257 | commit_ids = [] | |
|
258 | 258 | if not f_path: |
|
259 | # only load graph data when not in file history mode | |
|
259 | 260 | commit_ids = c.pagination |
|
260 | 261 | |
|
261 | 262 | c.graph_data, c.graph_commits = self._graph( |
@@ -329,8 +330,13 b' class RepoChangelogView(RepoAppView):' | |||
|
329 | 330 | elif self.request.GET.get('chunk') == 'next': |
|
330 | 331 | prev_data = prev_graph |
|
331 | 332 | |
|
333 | commit_ids = [] | |
|
334 | if not f_path: | |
|
335 | # only load graph data when not in file history mode | |
|
336 | commit_ids = c.pagination | |
|
337 | ||
|
332 | 338 | c.graph_data, c.graph_commits = self._graph( |
|
333 |
self.rhodecode_vcs_repo, c |
|
|
339 | self.rhodecode_vcs_repo, commit_ids, | |
|
334 | 340 | prev_data=prev_data, next_data=next_data) |
|
335 | 341 | |
|
336 | 342 | return self._get_template_context(c) |
General Comments 0
You need to be logged in to leave comments.
Login now