Mercurial > hg > soundsoftware-site
view app/models/repository/darcs.rb.rej @ 546:7c4b96efa402 feature_36
Closes Feature #240 (adding a new publication from the project's main page).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 29 Jul 2011 18:14:28 +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