Comment 3 for bug 502076

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 502076] Re: bzr-handle-patch doesn't like patch files containing "diff" lines before each patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gordon Tyler wrote:
> ** Also affects: bzr
> Importance: Undecided
> Status: New
>

I think we would be okay with a flag that allows patches to be 'dirty',
but I think we also would like a way to force them to be pristine.

I don't remember exactly where handle-patch is used, but there are some
places (I believe) where we emit the diff and then parse it later, and
we'll want to make sure they match exactly.

I didn't look at the patch, but it would be nice if the decision to be
lenient could be turned on/off.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktZuGIACgkQJdeBCYSNAAPCGwCeOAYDgZUq9aNEBsK594BKNEV5
05IAnRenOnyMe9+pNXkIo87GVlg3AWL+
=V+lD
-----END PGP SIGNATURE-----