Index: cvs_deploy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvs_deploy/cvs_deploy.module,v
retrieving revision 1.9.2.7
diff -u -F^F -r1.9.2.7 cvs_deploy.module
--- cvs_deploy.module	23 Jan 2008 21:00:28 -0000	1.9.2.7
+++ cvs_deploy.module	10 Apr 2008 22:09:48 -0000
@@ -19,7 +19,7 @@
 function cvs_deploy_version_from_tag($tag) {
   // If there's nothing, it must be a HEAD checkout, and therefore,
   // we have no idea what the version is.
-  if (!$tag) {
+  if (!$tag || $tag == 'HEAD') {
     $version = 'HEAD';
   }
   // See if it's a full, official release from a tag:
