Check that the set of .changes files found is as we expect, before
calling mergechanges.
has been changed recently and now this default setting is very awkward
to change for the dgit user.
+ New checks and improved behaviours:
+ * In dgit sbuild, check that the set of .changes files found is as we
+ expect, before calling mergechanges
+
Bugfixes:
* When cleaning up after failed clone, stat the to-be-cleaned-up
directory before running rmtree on it. Closes:#796773.
or $a cmp $b
} @changesfiles;
fail "wrong number of different changes files (@changesfiles)"
- unless @changesfiles;
+ unless @changesfiles==2;
runcmd_ordryrun_local @mergechanges, @changesfiles;
my $multichanges = "${package}_".(stripepoch $version)."_multi.changes";
if (act_local()) {