Project

General

Profile

« Previous | Next » 

Revision 595

Fixed a bug in CVS model (clash when 2 projects point to the same repository)

View differences:

trunk/app/models/repository/cvs.rb
100 100
        # is not exclusive at all. 
101 101
        unless changes.find_by_path_and_revision(scm.with_leading_slash(revision.paths[0][:path]), revision.paths[0][:revision])
102 102
          revision
103
          cs=Changeset.find(:first, :conditions=>{
103
          cs = changesets.find(:first, :conditions=>{
104 104
            :committed_on=>revision.time-time_delta..revision.time+time_delta,
105 105
            :committer=>revision.author,
106 106
            :comments=>revision.message

Also available in: Unified diff