@@ -142,6 +142,11 class Repository::Mercurial < Repository | |||||
142 | :committed_on => re.time, |
|
142 | :committed_on => re.time, | |
143 | :comments => re.message) |
|
143 | :comments => re.message) | |
144 | re.paths.each { |e| cs.create_change(e) } |
|
144 | re.paths.each { |e| cs.create_change(e) } | |
|
145 | parents = {} | |||
|
146 | parents[cs] = re.parents unless re.parents.nil? | |||
|
147 | parents.each do |ch, chparents| | |||
|
148 | ch.parents = chparents.collect{|rp| find_changeset_by_name(rp)}.compact | |||
|
149 | end | |||
145 | end |
|
150 | end | |
146 | end |
|
151 | end | |
147 | end |
|
152 | end |
General Comments 0
You need to be logged in to leave comments.
Login now