equal
deleted
inserted
replaced
38 Output.warning("CR character" + Position.here(file_pos)) |
38 Output.warning("CR character" + Position.here(file_pos)) |
39 } |
39 } |
40 |
40 |
41 def check_hg(root: Path) |
41 def check_hg(root: Path) |
42 { |
42 { |
43 System.err.println("Checking " + root + " ...") |
43 Output.writeln("Checking " + root + " ...") |
44 Isabelle_System.hg("--repository " + Isabelle_System.shell_path(root) + " root").check_error |
44 Isabelle_System.hg("--repository " + Isabelle_System.shell_path(root) + " root").check_error |
45 for { |
45 for { |
46 file <- Isabelle_System.hg("manifest", root).check_error.out_lines |
46 file <- Isabelle_System.hg("manifest", root).check_error.out_lines |
47 if file.endsWith(".thy") || file.endsWith(".ML") |
47 if file.endsWith(".thy") || file.endsWith(".ML") |
48 } check_file(root + Path.explode(file)) |
48 } check_file(root + Path.explode(file)) |