| 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 |
| 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: |
| 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. |