/[drupal]/contributions/modules/cvs_deploy/cvs_deploy.module
ViewVC logotype

Diff of /contributions/modules/cvs_deploy/cvs_deploy.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.26, Sat Sep 26 06:57:34 2009 UTC revision 1.27, Sat Sep 26 07:00:19 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: cvs_deploy.module,v 1.25 2009/08/21 21:04:14 dww Exp $  // $Id: cvs_deploy.module,v 1.26 2009/09/26 06:57:34 dww Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 20  function cvs_deploy_version_from_tag($ta Line 20  function cvs_deploy_version_from_tag($ta
20    // If there's nothing, it must be a HEAD checkout, and therefore,    // If there's nothing, it must be a HEAD checkout, and therefore,
21    // we have no idea what the version is.    // we have no idea what the version is.
22    $version = '';    $version = '';
23    if (!$tag || $tag == 'HEAD') {    $match = array();
24      if (empty($tag) || $tag == 'HEAD') {
25      $version = 'HEAD';      $version = 'HEAD';
26    }    }
27    // See if it's a full, official release from a tag:    // See if it's a full, official release from a tag:
# Line 49  function cvs_deploy_system_info_alter(&$ Line 50  function cvs_deploy_system_info_alter(&$
50    }    }
51    
52    // Now, alter the version string based on the CVS sticky tag.    // Now, alter the version string based on the CVS sticky tag.
53      if (empty($info['version'])) {
54        $info['version'] = '';
55      }
56    _cvs_deploy_version_alter($info['version'], $file);    _cvs_deploy_version_alter($info['version'], $file);
57    
58    // Find the timestamp for the most recently modified CVS/Entries file.    // Find the timestamp for the most recently modified CVS/Entries file.

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.2