summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-01 17:53:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-01 17:53:05 +0000
commitf8da6fb6792fad685d52a5aff376b45915e15826 (patch)
treed01509b371e580978e4d4d05036facff82bf8136 /app/models
parent6edfcd83c197c18749cecf071bb38e949e10748c (diff)
downloadredmine-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.rb2
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