Commit c1dfc940 authored by Xavier Guimard's avatar Xavier Guimard

salsa: die if project is missing in fork command

Closes: #922079
parent a999adc9
......@@ -32,6 +32,7 @@ devscripts (2.19.3) UNRELEASED; urgency=medium
+ Fix the impossibility to delete email-on-push.
+ Fix email recipients afterglow when used with --all.
Closes: #921640; MR: !104
+ Die if project is missing in fork command. Closes: #922079
* uscan: MR: !101
+ Fix dehs output with components with the "ignore" version.
+ Fix dehs output when "group" is used.
......
......@@ -10,6 +10,10 @@ with 'Devscripts::Salsa::checkout';
sub fork {
my ($self, $project) = @_;
unless ($project) {
ds_warn "Project to fork is missing";
return 1;
}
my $path = $self->main_path or return 1;
$self->api->fork_project($project, { namespace => $path });
my $p = $project;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment