When using --package-handler=cvs on Windows you get the following errors:
Unable to checkout drupal from cvs.drupal.org. [error]
Unable to check out !project to C:/Inetpub/drupal from cvs.drupal.org [error]
An error occurred at function : drush_pm_download [error]
The problem is in the file drush\commands\pm\package_handler\cvs.inc on line 99. In Windows getcwd() returns a path with back slahes but $path has forward slashes so str_replace() doesn't work properly.
I think it could be safe to just do a str_replace('\\','/',getcwd())
Comments
Comment #1
moshe weitzman commentedcommitted as suggested. thanks.
Comment #2
moshe weitzman commentedcommitted suggested fix. thanks. please reopen if issues persist.