修正了以前的方法调用 by 侯翔

This commit is contained in:
houxiang 2015-12-21 16:45:16 +08:00
parent 3e57237969
commit 21461fb583
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ update
@changesets = g.commits(@project.gpid, :ref_name => @rev)
# @changesets = @repository.latest_changesets(@path, @rev)
# @changesets_count = @repository.latest_changesets(@path, @rev).count
@changesets_all_count = changesets_num(@project)
@changesets_all_count = @project.gpid.nil? ? 0 : g.commits_total_count(@project.gpid).count
@changesets_latest_coimmit = @changesets[0]
@properties = @repository.properties(@path, @rev)
@repositories = @project.repositories