src/Pure/Admin/build_history.scala
changeset 77787 b20ac2c26ea3
parent 77783 fb61887c069a
child 77792 b81b2c50fc7c
equal deleted inserted replaced
77786:3badbb7bc7ed 77787:b20ac2c26ea3
   546     /* synchronize Isabelle + AFP repositories */
   546     /* synchronize Isabelle + AFP repositories */
   547 
   547 
   548     def sync(target: Path, accurate: Boolean = false,
   548     def sync(target: Path, accurate: Boolean = false,
   549       rev: String = "", afp_rev: String = "", afp: Boolean = false
   549       rev: String = "", afp_rev: String = "", afp: Boolean = false
   550     ): Unit = {
   550     ): Unit = {
   551       val context = Rsync.Context(progress, ssh = ssh, protect_args = protect_args)
   551       val context = Rsync.Context(progress = progress, ssh = ssh, protect_args = protect_args)
   552       Sync.sync(ssh.options, context, target,
   552       Sync.sync(ssh.options, context, target,
   553         thorough = accurate, preserve_jars = !accurate,
   553         thorough = accurate, preserve_jars = !accurate,
   554         rev = rev, afp_rev = afp_rev, afp_root = if (afp) afp_repos else None)
   554         rev = rev, afp_rev = afp_rev, afp_root = if (afp) afp_repos else None)
   555     }
   555     }
   556 
   556