view app/models/repository/darcs.rb.rej @ 230:cc406607458c live

Remove two unwanted files erroneously introduced in previous merge. These have previously been removed in bb7cac2ac146, but on a different branch
author Chris Cannam
date Thu, 17 Feb 2011 16:46:09 +0000
parents 1d32c0a0efbf
children
line wrap: on
line source
--- app/models/repository/darcs.rb
+++ app/models/repository/darcs.rb
@@ -85,11 +85,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
             next_rev += 1
           end if revisions