To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / models / repository / mercurial.rb.rej @ 442:753f1380d6bc
History | View | Annotate | Download (665 Bytes)
| 1 |
--- app/models/repository/mercurial.rb |
|---|---|
| 2 |
+++ app/models/repository/mercurial.rb |
| 3 |
@@ -78,11 +78,7 @@ |
| 4 |
:comments => revision.message) |
| 5 |
|
| 6 |
revision.paths.each do |change| |
| 7 |
- Change.create(:changeset => changeset, |
| 8 |
- :action => change[:action], |
| 9 |
- :path => change[:path], |
| 10 |
- :from_path => change[:from_path], |
| 11 |
- :from_revision => change[:from_revision]) |
| 12 |
+ changeset.create_change(change) |
| 13 |
end |
| 14 |
end |
| 15 |
end unless revisions.nil? |