src/Pure/Tools/check_source.scala
changeset 56830 e760242101fc
parent 56829 f151ade98b15
child 60988 1d7a7e33fd67
equal deleted inserted replaced
56829:f151ade98b15 56830:e760242101fc
    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))