mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix to query changelog if not yet branched (trunk)
This commit is contained in:
parent
6b50b26f99
commit
43d9b61d2d
@ -243,7 +243,8 @@ function get_changelog_from_svn($branch_url,$log_pattern=null,&$revision,$prefix
|
||||
|
||||
if (is_null($revision))
|
||||
{
|
||||
list($tags_url,$branch) = explode('/branches/',$branch_url);
|
||||
list($tags_url,$branch) = preg_split('#/(branches/|trunk)#',$branch_url);
|
||||
if (empty($branch)) $branch = $config['version'];
|
||||
$tags_url .= '/tags';
|
||||
$pattern=str_replace('Stylite-EPL-10\.1',preg_quote($branch),'/tags\/(Stylite-EPL-10\.1\.[0-9.]+)/');
|
||||
$revision = get_last_svn_tag($tags_url,$pattern,$matches);
|
||||
|
Loading…
Reference in New Issue
Block a user