/[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.20.2.2, Thu Apr 30 07:29:32 2009 UTC revision 1.20.2.3, Sat Sep 26 07:00:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: cvs_deploy.module,v 1.20.2.1 2008/11/19 18:36:00 dww Exp $  // $Id: cvs_deploy.module,v 1.20.2.2 2009/04/30 07:29:32 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.20.2.2  
changed lines
  Added in v.1.20.2.3

  ViewVC Help
Powered by ViewVC 1.1.2