Mercurial > hg > soundsoftware-site
view app/models/repository/darcs.rb.rej @ 702:3eb64cb3c7ac feature_36
Link authorships from publications detail page as well as publications list. Also minor text update
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Mon, 19 Sep 2011 17:00:35 +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