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
This commit is contained in:
Jean-Philippe Lang 2007-08-01 17:53:05 +00:00
parent 6edfcd83c1
commit f8da6fb679
1 changed files with 1 additions and 1 deletions

View File

@ -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