my $log = "";
my $conf = "";
my ($stage,$changed_this_run,$changed_since_success,$sysinfo,$branch);
my $log = "";
my $conf = "";
my ($stage,$changed_this_run,$changed_since_success,$sysinfo,$branch);
my $statement = <<EOS;
select log,conf_sum,stage, changed_this_run, changed_since_success,branch,
my $statement = <<EOS;
select log,conf_sum,stage, changed_this_run, changed_since_success,branch,
$log_file_names =~ s/^\{(.*)\}$/$1/;
@log_file_names=split(',',$log_file_names)
if $log_file_names;
$log_file_names =~ s/^\{(.*)\}$/$1/;
@log_file_names=split(',',$log_file_names)
if $log_file_names;
- next unless m!^pgsql/!;
- s!(^\S+)(\s+)(\S+)!<a href="http://anoncvs.postgresql.org/cvsweb.cgi/$1?rev=$3">$1$2$3</a>!;
+ if ($scm eq 'git')
+ {
+ s!(^\S+)(\s+)(\S+)!<a href="$giturl;h=$3">$1</a>!;
+ }
+ elsif ($scm eq 'cvs')
+ {
+ next unless m!^pgsql/!;
+ s!(^\S+)(\s+)(\S+)!<a href="$cvsurl/$1?rev=$3">$1$2$3</a>!;
+ }
}
$chgd = join("\n",@lines);
$chgd ||= 'not recorded';
}
$chgd = join("\n",@lines);
$chgd ||= 'not recorded';