scm: cvs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5084 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b5bf2fb322
commit
bf032661f7
|
@ -49,7 +49,9 @@ class Repository::Cvs < Repository
|
|||
if entries
|
||||
entries.each() do |entry|
|
||||
unless entry.lastrev.nil? || entry.lastrev.identifier
|
||||
change=changes.find_by_revision_and_path( entry.lastrev.revision, scm.with_leading_slash(entry.path) )
|
||||
change=changes.find_by_revision_and_path(
|
||||
entry.lastrev.revision,
|
||||
scm.with_leading_slash(entry.path) )
|
||||
if change
|
||||
entry.lastrev.identifier = change.changeset.revision
|
||||
entry.lastrev.author = change.changeset.committer
|
||||
|
|
Loading…
Reference in New Issue