equal
deleted
inserted
replaced
198 true |
198 true |
199 } |
199 } |
200 val edited = |
200 val edited = |
201 hgrc.is_file && { |
201 hgrc.is_file && { |
202 val lines = split_lines(File.read(hgrc)) |
202 val lines = split_lines(File.read(hgrc)) |
203 lines.filter(header).length == 1 && { |
203 lines.count(header) == 1 && { |
204 if (local_hg.paths(options = "-q").contains(path_name)) { |
204 if (local_hg.paths(options = "-q").contains(path_name)) { |
205 val old_source = local_hg.paths(args = path_name).head |
205 val old_source = local_hg.paths(args = path_name).head |
206 val old_entry = path_name + ".old = " + old_source |
206 val old_entry = path_name + ".old = " + old_source |
207 val lines1 = |
207 val lines1 = |
208 lines.map { |
208 lines.map { |