forked from extern/egroupware
fixed typo in editsvnchang_e_log and not replaced message about created svntag
This commit is contained in:
parent
0f284a0bfb
commit
ca3c4694e6
@ -91,7 +91,7 @@ while(($arg = array_shift($argv)))
|
||||
$config[$name] = $value ? $value : true;
|
||||
if (!in_array('editsvnchangelog',$config['run']))
|
||||
{
|
||||
array_unshift($config['run'],'editsvnchanglog');
|
||||
array_unshift($config['run'],'editsvnchangelog');
|
||||
}
|
||||
break;
|
||||
|
||||
@ -600,11 +600,6 @@ function get_modules_per_repro()
|
||||
$translate = array();
|
||||
foreach($config as $name => $value) $translate['$'.$name] = $value;
|
||||
|
||||
if (strpos($config['svntag'],'$') !== false) // allow to use config vars like $version in tag
|
||||
{
|
||||
$config['svntag'] = strtr($config['svntag'],$translate);
|
||||
}
|
||||
|
||||
// process alias/externals
|
||||
$svnbranch = $config['svnbase'].'/'.$config['svnbranch'];
|
||||
$url = $svnbranch.'/'.$config['svnalias'];
|
||||
@ -647,6 +642,13 @@ function do_svntag()
|
||||
{
|
||||
global $config,$svn,$verbose;
|
||||
|
||||
$translate = array();
|
||||
foreach($config as $name => $value) $translate['$'.$name] = $value;
|
||||
|
||||
if (strpos($config['svntag'],'$') !== false) // allow to use config vars like $version in tag
|
||||
{
|
||||
$config['svntag'] = strtr($config['svntag'],$translate);
|
||||
}
|
||||
echo "Creating SVN tag $config[svntag]\n";
|
||||
if (!isset($config['modules']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user