handling special case of module "egroupware" in merge

This commit is contained in:
Ralf Becker 2012-02-15 10:37:23 +00:00
parent 81f42ec050
commit 902c040add

View File

@ -86,10 +86,11 @@ function do_merge(array $args)
//print_r($modules);
//print_r($messages);
$cmds = array();
foreach($modules as $module)
foreach($modules as $n => $module)
{
system('svn -q update '.$module); // svn >= 1.7 brings an error otherwise
$cmds[] = 'svn merge '.implode(' ',$args).'/'.$module.' '.$module;
$cmds[] = 'svn merge '.implode(' ',$args).'/'.$module.($module != 'egroupware'?' '.$module:'');
if ($module == 'egroupware') $modules[$n] = '.';
}
$cmds[] = 'svn diff '.implode(' ',$modules);
foreach($cmds as $n => $cmd)