Skip to content

Commit

Permalink
Only complain about missing a target git repo if we don't expect that…
Browse files Browse the repository at this point in the history
… to be

the case already.
  • Loading branch information
sdboyer committed Feb 17, 2011
1 parent 2a047a0 commit 3423b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-migrate-stage1.drush.php
Expand Up @@ -63,7 +63,7 @@
continue;
}

if (!is_dir('/var/git/repositories/project/' . $project->uri . '.git')) {
if (!is_dir('/var/git/repositories/project/' . $project->uri . '.git') && empty($empties[$project->nid])) {
git_log(strtr('Project has a CVS path listed, but no code was migrated into a git repository at the expected target location, !location.', array('!project' => $project->uri, '!location' => 'project/' . $project->uri . '.git')), 'WARN', $project->uri);
continue;
}
Expand Down

0 comments on commit 3423b22

Please sign in to comment.