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.

4 calls to drush_version_control_reserved_files()
drush_core_call_rsync in commands/core/
Make a direct call to rsync after the source and destination paths have been evaluated.
drush_core_find_project_path in commands/core/
drush_pm_cvs in commands/pm/package_handler/
General CVS helper function.
pm_update_project in commands/pm/
Update one project -- a module, theme or Drupal core.


includes/, line 2942
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(
    $vcs = array_keys(drush_get_engines('version_control'));
    foreach ($vcs as $name) {
      drush_include_engine('version_control', $name);
      $class = 'drush_pm_version_control_' . $name;
      // For php < 5.3 we can't access a static method by referencing the class
      // using a variable.
      $version_control = new $class();
      $files = array_merge($files, $version_control->reserved_files());

  return $files;