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	21 Aug 2009 06:02:45 -0000
@@ -52,7 +52,7 @@ function cvs_deploy_system_info_alter(&$
   _cvs_deploy_version_alter($info['version'], $file);
 
   // Find the timestamp for the most recently modified CVS/Entries file.
-  $mtime = _cvs_deploy_find_latest_update(dirname($file->filename), 0);
+  $mtime = _cvs_deploy_find_latest_update(dirname($file->uri), 0);
 
   // Only fill this in if the .info file does not define a 'datestamp'.
   if (empty($info['datestamp'])) {
@@ -78,7 +78,7 @@ function _cvs_deploy_version_alter(&$ver
   if (empty($version)) {
     // The .info file contains no version data. Find the version based
     // on the sticky tag in the local workspace (the CVS/Tag file).
-    $cvs_dir = dirname($file->filename) .'/CVS';
+    $cvs_dir = dirname($file->uri) .'/CVS';
     if (is_dir($cvs_dir)) {
       $tag = '';  // If there's no Tag file, there's no tag, a.k.a. HEAD.
       if (file_exists($cvs_dir .'/Tag')) {
@@ -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 = dirname($file->uri) .'/CVS';
     if (is_dir($cvs_dir)) {
       $repository = '';
       if (file_exists($cvs_dir .'/Repository')) {
