? cvs_deploy-other_repositories-DRUPAL-5.x-1.1.patch
? cvs_deploy-other_repositories-DRUPAL-5.x-dev.patch
Index: cvs_deploy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvs_deploy/cvs_deploy.module,v
retrieving revision 1.9.2.11
diff -u -u -p -r1.9.2.11 cvs_deploy.module
--- cvs_deploy.module	1 Jun 2009 19:24:36 -0000	1.9.2.11
+++ cvs_deploy.module	17 Oct 2009 10:53:56 -0000
@@ -147,9 +147,13 @@ function cvs_deploy_get_project_name($pr
           if ($parts[0] == 'drupal') {
             $projects[$module_name] = $parts[0];
           }
-          else {
+          elseif ($parts[0] == 'contributions' && ($parts[1] == 'modules' || $parts[1] == 'themes')) {
             $projects[$module_name] = $parts[2];
           }
+          else {
+            // Else an unknown (non d.o) repository, assume the name of the containing folder.
+            $projects[$module_name] = array_pop($parts);
+          }
         }
       }
     }
