src/Pure/General/mercurial.scala
changeset 75535 2bf2cc3aca84
parent 75526 57b6a28e4eba
child 75537 fbe27a50706b
equal deleted inserted replaced
75534:1d937b12204d 75535:2bf2cc3aca84
   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)