? cvs_deploy-1.patch
Index: cvs_deploy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvs_deploy/cvs_deploy.module,v
retrieving revision 1.24
diff -u -p -r1.24 cvs_deploy.module
--- cvs_deploy.module	13 Jun 2009 08:48:03 -0000	1.24
+++ cvs_deploy.module	18 Aug 2009 15:48:50 -0000
@@ -138,7 +138,7 @@ function cvs_deploy_get_project_name($fi
   $name = $file->name;
   if (empty($projects[$name])) {
     // TODO: cache this in {cache}, too?
-    $cvs_dir = dirname($file->filepath) .'/CVS';
+    $cvs_dir = isset($file->filepath) ? dirname($file->filepath) .'/CVS' : '';
     if (is_dir($cvs_dir)) {
       $repository = '';
       if (file_exists($cvs_dir .'/Repository')) {
