Mercurial > hg > soundsoftware-site
view app/models/repository/darcs.rb.rej @ 205:05f9a2a9c753 bug_67
Projects page: Sort and paginate table on the basis of root projects only; recurse to children (if any) after each root project is rendered. Fixes #67
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 08 Feb 2011 12:16:25 +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