equal
deleted
inserted
replaced
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 |