view app/models/repository/mercurial.rb.rej @ 880:067c526a505e feature_74

Close obsolete branch feature_74
author Chris Cannam
date Sat, 26 Mar 2011 14:31:17 +0000
parents 1d32c0a0efbf
children
line wrap: on
line source
--- app/models/repository/mercurial.rb
+++ app/models/repository/mercurial.rb
@@ -78,11 +78,7 @@
                                            :comments => revision.message)
               
               revision.paths.each do |change|
-                Change.create(:changeset => changeset,
-                              :action => change[:action],
-                              :path => change[:path],
-                              :from_path => change[:from_path],
-                              :from_revision => change[:from_revision])
+                changeset.create_change(change)
               end
             end
           end unless revisions.nil?