Skip to content

Commit

Permalink
[backend] map project name in <releasetarget> to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-schwab authored and adrianschroeter committed Jul 7, 2014
1 parent 5daca61 commit 89d443c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/bs_sched
Expand Up @@ -3845,6 +3845,9 @@ sub fetchremoteproj {
for my $pathel (@{$repo->{'path'} || []}) {
$pathel->{'project'} = maptoremote($proj, $pathel->{'project'});
}
for my $pathel (@{$repo->{'releasetarget'} || []}) {
$pathel->{'project'} = maptoremote($proj, $pathel->{'project'});
}
}
for my $link (@{$rproj->{'link'} || []}) {
$link->{'project'} = maptoremote($proj, $link->{'project'});
Expand Down
6 changes: 6 additions & 0 deletions src/backend/bs_srcserver
Expand Up @@ -3373,6 +3373,9 @@ sub getproject {
for my $re (@{$r->{'path'} || []}) {
$re->{'project'} = maptoremote($proj, $re->{'project'});
}
for my $re (@{$r->{'releasetarget'} || []}) {
$re->{'project'} = maptoremote($proj, $re->{'project'});
}
}
for my $pp (@{$p->{'link'} || []}) {
$pp->{'project'} = maptoremote($proj, $pp->{'project'});
Expand Down Expand Up @@ -3964,6 +3967,9 @@ sub fetchremoteproj {
for my $pathel (@{$repo->{'path'} || []}) {
$pathel->{'project'} = maptoremote($proj, $pathel->{'project'});
}
for my $pathel (@{$repo->{'releasetarget'} || []}) {
$pathel->{'project'} = maptoremote($proj, $pathel->{'project'});
}
}
for my $link (@{$rproj->{'link'} || []}) {
$link->{'project'} = maptoremote($proj, $link->{'project'});
Expand Down

0 comments on commit 89d443c

Please sign in to comment.