src/Pure/Admin/build_history.scala
changeset 80196 9308bc5f65d6
parent 80193 ed8a3f4e3de7
child 80275 c631a44e9f13
equal deleted inserted replaced
80195:e2ccabd7a857 80196:9308bc5f65d6
   165       directory
   165       directory
   166     }
   166     }
   167 
   167 
   168     val isabelle_directory = directory(root)
   168     val isabelle_directory = directory(root)
   169     val (afp_directory, afp_build_args) =
   169     val (afp_directory, afp_build_args) =
   170       if (afp) (Some(directory(root + Path.explode("AFP"))), List("-d", "~~/AFP/thys"))
   170       if (afp) (Some(directory(root + Path.explode("AFP"))), List("-d", "~~/dirs/AFP/thys"))
   171       else (None, Nil)
   171       else (None, Nil)
   172 
   172 
   173 
   173 
   174     /* main */
   174     /* main */
   175 
   175 
   546     def sync(target: Path, accurate: Boolean = false,
   546     def sync(target: Path, accurate: Boolean = false,
   547       rev: String = "", afp_rev: String = "", afp: Boolean = false
   547       rev: String = "", afp_rev: String = "", afp: Boolean = false
   548     ): Unit = {
   548     ): Unit = {
   549       Sync.sync(ssh.options, Rsync.Context(progress = progress, ssh = ssh), target,
   549       Sync.sync(ssh.options, Rsync.Context(progress = progress, ssh = ssh), target,
   550         thorough = accurate, preserve_jars = !accurate,
   550         thorough = accurate, preserve_jars = !accurate,
   551         rev = rev, afp_rev = afp_rev, afp_root = if (afp) afp_repos else None)
   551         rev = rev, dirs = Sync.afp_dirs(if (afp) afp_repos else None, rev = afp_rev))
   552     }
   552     }
   553 
   553 
   554     if (!shared_isabelle_self) sync(isabelle_self)
   554     if (!shared_isabelle_self) sync(isabelle_self)
   555 
   555 
   556     val self_isabelle =
   556     val self_isabelle =