summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/repository/cvs.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb
index c2f9fed25..d4fbb7267 100644
--- a/app/models/repository/cvs.rb
+++ b/app/models/repository/cvs.rb
@@ -58,7 +58,7 @@ class Repository::Cvs < Repository
end
entries = scm.entries(path, rev.nil? ? nil : rev.committed_on)
if entries
- entries.each() do |entry|
+ entries.each do |entry|
if ( ! entry.lastrev.nil? ) && ( ! entry.lastrev.revision.nil? )
change = filechanges.where(
:revision => entry.lastrev.revision,
@@ -101,7 +101,7 @@ class Repository::Cvs < Repository
if rev_to.to_i > 0
changeset_to = changesets.find_by_revision(rev_to)
end
- changeset_from.filechanges.each() do |change_from|
+ changeset_from.filechanges.each do |change_from|
revision_from = nil
revision_to = nil
if path.nil? || (change_from.path.starts_with? scm.with_leading_slash(path))
@@ -109,7 +109,7 @@ class Repository::Cvs < Repository
end
if revision_from
if changeset_to
- changeset_to.filechanges.each() do |change_to|
+ changeset_to.filechanges.each do |change_to|
revision_to = change_to.revision if change_to.path == change_from.path
end
end