build_source_for_push should now always build in a worktree, so
patches should never be applied dirtily to $maindir. Die if it turns
out they were.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
sub build_source_for_push {
build_source();
sub build_source_for_push {
build_source();
- maybe_unapply_patches_again();
+ die "er, patches are applied dirtily but shouldn't be.."
+ if $patches_applied_dirtily;
$changesfile = $sourcechanges;
}
$changesfile = $sourcechanges;
}