Mercurial > hg > soundsoftware-site
annotate app/models/repository/darcs.rb.rej @ 299:defe55be97b9 feature_73
Do not show external checkbox/field until the repo has been automatically populated
Pull external Hg as well as git and svn repos
Some textual changes
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 24 Mar 2011 15:48:36 +0000 |
parents | 1d32c0a0efbf |
children |
rev | line source |
---|---|
Chris@14 | 1 --- app/models/repository/darcs.rb |
Chris@14 | 2 +++ app/models/repository/darcs.rb |
Chris@14 | 3 @@ -85,11 +85,7 @@ |
Chris@14 | 4 :comments => revision.message) |
Chris@14 | 5 |
Chris@14 | 6 revision.paths.each do |change| |
Chris@14 | 7 - Change.create(:changeset => changeset, |
Chris@14 | 8 - :action => change[:action], |
Chris@14 | 9 - :path => change[:path], |
Chris@14 | 10 - :from_path => change[:from_path], |
Chris@14 | 11 - :from_revision => change[:from_revision]) |
Chris@14 | 12 + changeset.create_change(change) |
Chris@14 | 13 end |
Chris@14 | 14 next_rev += 1 |
Chris@14 | 15 end if revisions |