diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-01 17:53:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-01 17:53:05 +0000 |
commit | f8da6fb6792fad685d52a5aff376b45915e15826 (patch) | |
tree | d01509b371e580978e4d4d05036facff82bf8136 /app/models | |
parent | 6edfcd83c197c18749cecf071bb38e949e10748c (diff) | |
download | redmine-f8da6fb6792fad685d52a5aff376b45915e15826.tar.gz redmine-f8da6fb6792fad685d52a5aff376b45915e15826.zip |
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
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/repository/cvs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |