vagrant/plugins/guests/windows/cap
Tim Aslat 630858b9a8 This patch fixes an issue when using rsync folders on windows clients with cygwin & ssh enabled.
Before the patch this error will happen if the original directory already exists

-------------------------------------------------------------------------------------------------
==> windows: Rsyncing folder: /vhosts/oxfamshop.com.au/ => /cygdrive/c/inetpub/wwwroot
==> windows:   - Exclude: [".vagrant/", ".git/", "target/", "node_modules/"]
==> windows: Showing rsync output...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir '/cygdrive/c/inetpub/wwwroot'

Stdout from the command:

Stderr from the command:

mkdir: cannot create directory ‘/cygdrive/c/inetpub/wwwroot’: File exists
-------------------------------------------------------------------------------------------------

After the patch, this is result

-------------------------------------------------------------------------------------------------
==> windows: Rsyncing folder: /vhosts/oxfamshop.com.au/ => /cygdrive/c/inetpub/wwwroot
==> windows:   - Exclude: [".vagrant/", ".git/", "target/", "node_modules/"]
==> windows: Showing rsync output...
==> windows: rsync[stdout] -> sending incremental file list
==> windows: rsync[stdout] ->
==> windows: rsync[stdout] -> sent 500855 bytes  received 6635 bytes  78075.38 bytes/sec
==> windows: rsync[stdout] -> total size is 175357552  speedup is 345.54
-------------------------------------------------------------------------------------------------
2017-05-16 16:38:29 +09:30
..
change_host_name.rb Revert "Rename Windows guest without reboot" 2015-01-28 20:00:24 -05:00
choose_addressable_ip_addr.rb filter host IPs to those that resolve on guest when finding addresable IPs on a windows guest 2014-08-11 00:07:21 -07:00
configure_networks.rb Enable windows guest capabilities using winssh communicator 2017-05-05 14:04:54 -07:00
halt.rb guests/windows: initial vagrant-windows extraction 2014-04-21 13:51:06 -07:00
mount_shared_folder.rb Enable windows guest capabilities using winssh communicator 2017-05-05 14:04:54 -07:00
reboot.rb Move Windows symlink re-establishment after reboot into capability 2014-04-30 17:36:36 -07:00
rsync.rb This patch fixes an issue when using rsync folders on windows clients with cygwin & ssh enabled. 2017-05-16 16:38:29 +09:30