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 -p -r1.9.2.7 cvs_deploy.module
--- cvs_deploy.module	23 Jan 2008 21:00:28 -0000	1.9.2.7
+++ cvs_deploy.module	22 Mar 2008 07:52:36 -0000
@@ -41,15 +41,15 @@ function cvs_deploy_version_from_tag($ta
  * Implementation of hook_system_info_alter().
  */
 function cvs_deploy_system_info_alter(&$info, $project) {
-  // First, alter the version string based on the CVS sticky tag.
-  _cvs_deploy_version_alter($info['version'], $project);
-
-  // Now, if we don't know the 'project' attribute, fill it in based on the
+  // First, if we don't know the 'project' attribute, fill it in based on the
   // CVS/Repository file.
   if (empty($info['project'])) {
     $info['project'] = cvs_deploy_get_project_name($project);
   }
 
+  // Now, alter the version string based on the CVS sticky tag.
+  _cvs_deploy_version_alter($info['version'], $project);
+
   // Find the timestamp for the most recently modified CVS/Entries file.
   $mtime = _cvs_deploy_find_latest_update(dirname($project['filename']), 0);
 
