equal
deleted
inserted
replaced
305 |
305 |
306 Isabelle_System.with_tmp_dir("sync") { tmp_dir => |
306 Isabelle_System.with_tmp_dir("sync") { tmp_dir => |
307 Rsync.init(context, target) |
307 Rsync.init(context, target) |
308 |
308 |
309 val list = |
309 val list = |
310 Rsync.exec(context, list = true, |
310 Rsync.exec(context, list = true, args = List("--", Rsync.terminate(target))) |
311 args = List("--", Rsync.terminate(target)) |
311 .check.out_lines.filterNot(_.endsWith(" .")) |
312 ).check.out_lines.filterNot(_.endsWith(" .")) |
|
313 if (list.nonEmpty && !list.exists(_.endsWith(Hg_Sync._NAME))) { |
312 if (list.nonEmpty && !list.exists(_.endsWith(Hg_Sync._NAME))) { |
314 error("No .hg_sync meta data in " + quote(target)) |
313 error("No .hg_sync meta data in " + quote(target)) |
315 } |
314 } |
316 |
315 |
317 val id_content = id(rev = rev) |
316 val id_content = id(rev = rev) |