function drush_version_control_reserved_files

8.0.x drush_version_control_reserved_files()
6.x drush_version_control_reserved_files()
7.x drush_version_control_reserved_files()
4.x drush_version_control_reserved_files()
5.x drush_version_control_reserved_files()
master drush_version_control_reserved_files()

Return a list of VCSs reserved files and directories.

3 calls to drush_version_control_reserved_files()
drush_pm_download in commands/pm/
Command callback. Download Drupal core or any project.
pm_update_project in commands/pm/
Update one project -- a module, theme or Drupal core.
_drush_build_rsync_options in commands/core/


includes/, line 1672
The drush API implementation and helpers.


function drush_version_control_reserved_files() {
  static $files = FALSE;

  if (!$files) {
    // Also support VCSs that are not drush vc engines.
    $files = array(
    $engine_info = drush_get_engines('version_control');
    $vcs = array_keys($engine_info['engines']);
    foreach ($vcs as $name) {
      $version_control = drush_include_engine('version_control', $name);
      $files = array_merge($files, $version_control->reserved_files());

  return $files;