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 } |