src/Pure/Tools/sync.scala
changeset 77795 4c4bd44ff683
parent 77792 b81b2c50fc7c
child 78178 a177f71dc79f
equal deleted inserted replaced
77794:89e4971df810 77795:4c4bd44ff683
   137 
   137 
   138         val options = Options.init()
   138         val options = Options.init()
   139         val progress = new Console_Progress(verbose = verbose)
   139         val progress = new Console_Progress(verbose = verbose)
   140 
   140 
   141         using(SSH.open_system(options, host = ssh_host, port = ssh_port, user = ssh_user)) { ssh =>
   141         using(SSH.open_system(options, host = ssh_host, port = ssh_port, user = ssh_user)) { ssh =>
   142           val context = Rsync.Context(progress = progress, ssh = ssh)
   142           val context = Rsync.Context(progress = progress, ssh = ssh, stats = verbose)
   143           sync(options, context, target, thorough = thorough, purge_heaps = purge_heaps,
   143           sync(options, context, target, thorough = thorough, purge_heaps = purge_heaps,
   144             session_images = session_images, preserve_jars = preserve_jars, dry_run = dry_run,
   144             session_images = session_images, preserve_jars = preserve_jars, dry_run = dry_run,
   145             rev = rev, afp_root = afp_root, afp_rev = afp_rev)
   145             rev = rev, afp_root = afp_root, afp_rev = afp_rev)
   146         }
   146         }
   147       }
   147       }