? cvs_deploy-other_repositories-6.x-1-dev.patch
? cvs_deploy-other_repositories-6.x-1.1.patch
Index: cvs_deploy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvs_deploy/cvs_deploy.module,v
retrieving revision 1.20.2.3
diff -u -u -p -r1.20.2.3 cvs_deploy.module
--- cvs_deploy.module	26 Sep 2009 07:00:55 -0000	1.20.2.3
+++ cvs_deploy.module	17 Oct 2009 10:24:58 -0000
@@ -152,9 +152,13 @@ function cvs_deploy_get_project_name($fi
           if ($parts[0] == 'drupal') {
             $projects[$name] = $parts[0];
           }
-          else {
+          elseif ($parts[0] == 'contributions' && ($parts[1] == 'modules' || $parts[1] == 'themes')) {
             $projects[$name] = $parts[2];
           }
+          else {
+            // Else an unknown (non d.o) repository, assume the name of the containing folder.
+            $projects[$name] = array_pop($parts);
+          }
         }
       }
     }
