| 1 |
<?php |
<?php |
| 2 |
// $Id: cvs_deploy.module,v 1.22 2008/11/19 18:36:55 dww Exp $ |
// $Id: cvs_deploy.module,v 1.23 2009/04/30 07:27:48 dww Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 138 |
$name = $file->name; |
$name = $file->name; |
| 139 |
if (empty($projects[$name])) { |
if (empty($projects[$name])) { |
| 140 |
// TODO: cache this in {cache}, too? |
// TODO: cache this in {cache}, too? |
| 141 |
$cvs_dir = dirname($file->filename) .'/CVS'; |
$cvs_dir = dirname($file->filepath) .'/CVS'; |
| 142 |
if (is_dir($cvs_dir)) { |
if (is_dir($cvs_dir)) { |
| 143 |
$repository = ''; |
$repository = ''; |
| 144 |
if (file_exists($cvs_dir .'/Repository')) { |
if (file_exists($cvs_dir .'/Repository')) { |