equal
deleted
inserted
replaced
260 filter: List[String] = Nil, |
260 filter: List[String] = Nil, |
261 rev: String = "" |
261 rev: String = "" |
262 ): Unit = { |
262 ): Unit = { |
263 require(ssh == SSH.Local, "local repository required") |
263 require(ssh == SSH.Local, "local repository required") |
264 |
264 |
265 Isabelle_System.with_tmp_dir("rsync") { tmp_dir => |
265 Isabelle_System.with_tmp_dir("sync") { tmp_dir => |
266 val (options, source) = |
266 val (options, source) = |
267 if (rev.isEmpty) { |
267 if (rev.isEmpty) { |
268 val exclude_path = tmp_dir + Path.explode("exclude") |
268 val exclude_path = tmp_dir + Path.explode("exclude") |
269 val exclude = status(options = "--unknown --ignored --no-status") |
269 val exclude = status(options = "--unknown --ignored --no-status") |
270 File.write(exclude_path, cat_lines((".hg" :: exclude).map("/" + _))) |
270 File.write(exclude_path, cat_lines((".hg" :: exclude).map("/" + _))) |