tuned;
authorwenzelm
Fri, 24 May 2024 20:23:14 +0200
changeset 80193 ed8a3f4e3de7
parent 80192 36e6ba1527f0
child 80194 79655411a32d
tuned;
src/Pure/Admin/build_history.scala
--- a/src/Pure/Admin/build_history.scala	Fri May 24 19:15:51 2024 +0200
+++ b/src/Pure/Admin/build_history.scala	Fri May 24 20:23:14 2024 +0200
@@ -546,8 +546,7 @@
     def sync(target: Path, accurate: Boolean = false,
       rev: String = "", afp_rev: String = "", afp: Boolean = false
     ): Unit = {
-      val context = Rsync.Context(progress = progress, ssh = ssh)
-      Sync.sync(ssh.options, context, target,
+      Sync.sync(ssh.options, Rsync.Context(progress = progress, ssh = ssh), target,
         thorough = accurate, preserve_jars = !accurate,
         rev = rev, afp_rev = afp_rev, afp_root = if (afp) afp_repos else None)
     }