Skip to content

Test / improve feedback if patch has invalid path #1279

@xmo-odoo

Description

@xmo-odoo

This can happen when creating a patch from one version and trying to apply it on an other where files have been moved around. I've not actually tried it in production but I think the error would / could be odd (probably the tarfile.open call raising tarfile.ReadError because git archive does not send any data).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions