change die to warn if split_conf is not set but gl-conf is present
(although the opposite case is still a "die") We found out how this can happen: if you change repo r1 r2 to @g = r1 r2 repo @g as found by t/deleg-2.t, which suddenly started breaking after an apparently unrelated commit :-)
This commit is contained in:
parent
b1a75b7889
commit
3e1746b267
|
@ -195,7 +195,7 @@ sub load_1 {
|
|||
}
|
||||
|
||||
if ( -f "gl-conf" ) {
|
||||
_die "split conf not set, gl-conf present for $repo" if not $split_conf{$repo};
|
||||
_warn "split conf not set, gl-conf present for $repo" if not $split_conf{$repo};
|
||||
|
||||
my $cc = "gl-conf";
|
||||
_die "parse $cc failed: " . ( $! or $@ ) unless do $cc;
|
||||
|
|
Loading…
Reference in a new issue