From f8da6fb6792fad685d52a5aff376b45915e15826 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 1 Aug 2007 17:53:05 +0000 Subject: [PATCH] Fixed a bug in CVS model (clash when 2 projects point to the same repository) git-svn-id: http://redmine.rubyforge.org/svn/trunk@595 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/repository/cvs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index d6d4ed317..16d906316 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -100,7 +100,7 @@ class Repository::Cvs < Repository # is not exclusive at all. unless changes.find_by_path_and_revision(scm.with_leading_slash(revision.paths[0][:path]), revision.paths[0][:revision]) revision - cs=Changeset.find(:first, :conditions=>{ + cs = changesets.find(:first, :conditions=>{ :committed_on=>revision.time-time_delta..revision.time+time_delta, :committer=>revision.author, :comments=>revision.message