forked from lix-project/hydra
Merge branch 'master' into build-ng
This commit is contained in:
commit
dd4f6e695e
|
@ -52,7 +52,7 @@ sub fetchInput {
|
||||||
die "error pulling latest change mercurial repo at `$uri':\n$stderr" if $res;
|
die "error pulling latest change mercurial repo at `$uri':\n$stderr" if $res;
|
||||||
|
|
||||||
(my $res1, $stdout, $stderr) = captureStdoutStderr(600,
|
(my $res1, $stdout, $stderr) = captureStdoutStderr(600,
|
||||||
"hg", "log", "-r", $id, "--template", "{node|short} {rev} {branch}");
|
"hg", "log", "-r", $id, "--template", "{node} {rev} {branch}");
|
||||||
die "error getting branch and revision of $id from `$uri':\n$stderr" if $res1;
|
die "error getting branch and revision of $id from `$uri':\n$stderr" if $res1;
|
||||||
|
|
||||||
my ($revision, $revCount, $branch) = split ' ', $stdout;
|
my ($revision, $revCount, $branch) = split ' ', $stdout;
|
||||||
|
|
|
@ -380,6 +380,8 @@ BLOCK renderShortEvalInput;
|
||||||
r[% input.revision %]
|
r[% input.revision %]
|
||||||
[% ELSIF input.type == "git" %]
|
[% ELSIF input.type == "git" %]
|
||||||
<tt>[% input.revision.substr(0, 7) %]</tt>
|
<tt>[% input.revision.substr(0, 7) %]</tt>
|
||||||
|
[% ELSIF input.type == "hg" %]
|
||||||
|
<tt>[% input.revision.substr(0, 12) %]</tt>
|
||||||
[% ELSIF input.type == "build" || input.type == "sysbuild" %]
|
[% ELSIF input.type == "build" || input.type == "sysbuild" %]
|
||||||
<a href="[% c.uri_for('/build' input.get_column('dependency')) %]">[% input.get_column('dependency') %]</a>
|
<a href="[% c.uri_for('/build' input.get_column('dependency')) %]">[% input.get_column('dependency') %]</a>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
|
|
Loading…
Reference in a new issue