view app/models/repository/mercurial.rb.rej @ 113:cede720e8f53 live

* Move tip of the day to the right column (now there is more in the left one)
author Chris Cannam
date Mon, 20 Dec 2010 22:15:06 +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?