src/Pure/Admin/build_history.scala
changeset 77783 fb61887c069a
parent 77368 7c57d9586f4c
child 77787 b20ac2c26ea3
--- a/src/Pure/Admin/build_history.scala	Sat Apr 08 10:24:54 2023 +0200
+++ b/src/Pure/Admin/build_history.scala	Sat Apr 08 16:37:54 2023 +0200
@@ -548,10 +548,8 @@
     def sync(target: Path, accurate: Boolean = false,
       rev: String = "", afp_rev: String = "", afp: Boolean = false
     ): Unit = {
-      val context =
-        Rsync.Context(progress, ssh_port = ssh.port, ssh_control_path = ssh.control_path,
-          protect_args = protect_args)
-      Sync.sync(ssh.options, context, ssh.rsync_path(target),
+      val context = Rsync.Context(progress, ssh = ssh, protect_args = protect_args)
+      Sync.sync(ssh.options, context, target,
         thorough = accurate, preserve_jars = !accurate,
         rev = rev, afp_rev = afp_rev, afp_root = if (afp) afp_repos else None)
     }