This avoids accidental use of the wrong one (by software, or by users).
New checks and improved behaviours:
* In dgit sbuild, check that the set of .changes files found is as we
- expect, before calling mergechanges
+ expect, before calling mergechanges, and rename the used-up .changes
+ files to `.inmulti' to avoid accidental use of the wrong one (by
+ software, or by users).
Bugfixes:
* When cleaning up after failed clone, stat the to-be-cleaned-up
my $multichanges = "${package}_".(stripepoch $version)."_multi.changes";
if (act_local()) {
stat_exists $multichanges or fail "$multichanges: $!";
+ foreach my $cf (glob $pat) {
+ next if $cf eq $multichanges;
+ rename "$cf", "$cf.inmulti" or fail "$cf\{,.inmulti}: $!";
+ }
}
printdone "build successful, results in $multichanges\n" or die $!;
}