Mercurial > hg > soundsoftware-site
view app/models/repository/darcs.rb.rej @ 479:7be2c5d9ffa5 feature_36
correctly saving ONE authorship model when creating new publication.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 30 Jun 2011 12:54:10 +0100 |
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