Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2016 09:19:51 -0600
From:      Sean Bruno <sbruno@freebsd.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Slawa Olhovchenkov <slw@zxy.spb.ru>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Large patch/diff refuses to apply
Message-ID:  <f312318f-4ebe-0917-cab9-ff7d7e200759@freebsd.org>
In-Reply-To: <CAOtMX2gHRDE73csXK78E3XnPNTjSCw_zXAiSY_fP=iRw-EewGg@mail.gmail.com>
References:  <abd48514-c699-888d-1ba3-f6e4a8f7f05c@freebsd.org> <20161006142339.GF6177@zxy.spb.ru> <a15d4a57-5a43-09c4-1535-ce68f716c93c@freebsd.org> <CAOtMX2gHRDE73csXK78E3XnPNTjSCw_zXAiSY_fP=iRw-EewGg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Cvhdp4BUxX7dHJWuXNC7wOxcakK6NFXTg
Content-Type: multipart/mixed; boundary="C0v248WlPaqFdC5ksXxpgmTl0iA03DOPl"
From: Sean Bruno <sbruno@freebsd.org>
To: Alan Somers <asomers@freebsd.org>
Cc: Slawa Olhovchenkov <slw@zxy.spb.ru>,
 freebsd-current <freebsd-current@freebsd.org>
Message-ID: <f312318f-4ebe-0917-cab9-ff7d7e200759@freebsd.org>
Subject: Re: Large patch/diff refuses to apply
References: <abd48514-c699-888d-1ba3-f6e4a8f7f05c@freebsd.org>
 <20161006142339.GF6177@zxy.spb.ru>
 <a15d4a57-5a43-09c4-1535-ce68f716c93c@freebsd.org>
 <CAOtMX2gHRDE73csXK78E3XnPNTjSCw_zXAiSY_fP=iRw-EewGg@mail.gmail.com>
In-Reply-To: <CAOtMX2gHRDE73csXK78E3XnPNTjSCw_zXAiSY_fP=iRw-EewGg@mail.gmail.com>

--C0v248WlPaqFdC5ksXxpgmTl0iA03DOPl
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



On 10/06/16 09:00, Alan Somers wrote:
> On Thu, Oct 6, 2016 at 8:41 AM, Sean Bruno <sbruno@freebsd.org> wrote:
>>
>>
>> On 10/06/16 08:23, Slawa Olhovchenkov wrote:
>>> On Thu, Oct 06, 2016 at 07:57:57AM -0600, Sean Bruno wrote:
>>>
>>>> I'm doing a large amount of change to ixgbe(4) in support of IFLIB
>>>> implementations and running into failures when trying to apply large=

>>>> diffs.  This is causing phabricator reviews to be unuseable as well.=

>>>>
>>>> I've setup two trees to test this.  The first tree is used to genera=
te
>>>> the diff and the second (vanilla) is used to apply the diff.  The en=
tire
>>>> patch fails to apply, so I'm assuming that the size of the diff is
>>>> failing because of a sanity check or something.
>>>
>>> No. This is expanded/collapsed keywords issuse:
>>>
>>> =3D=3D=3D
>>> -********************************************************************=
**********/
>>> -/*$FreeBSD$*/
>>> =3D=3D=3D
>>>
>>> svn diff over repo generate patch w/ collapsed keywords.
>>> At working copy all keywords expanded.
>>>
>>
>> Ah, I see.  Thank you.
>>
>> I am regenerating the failed files now.  That seems to work (if I leav=
e
>> the keywords alone).
>>
>> sean
>>
>=20
> Also, I think the "svn patch" command (as opposed to plain "patch")
> can deal with the RCS keywords.
>=20

The use of "svn cp" also seems to generate a lot of failures as well.

I do want to maintain history between certain files when I go to commit.
 e.g. svn cp fileA new_fileA, but this seems to confuse the crap out of
diff/patch no matter what I do.  This leads to suffering with
phabricator as well.

For now, I'm not going to do the "svn cp" part of my commit, but I will
try and do this when I am ready to shove my work into current.

sean


--C0v248WlPaqFdC5ksXxpgmTl0iA03DOPl--

--Cvhdp4BUxX7dHJWuXNC7wOxcakK6NFXTg
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJX9muXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kr7AH/i+RdOYZUWQoFUqYTpIv8hIg
w0fYSonB+VDO5GVVuyljKoV4t1OVSa+G2fnASFHLf9OzNeBK14I8kPYnxlda0jLO
gUp+KeEnaUj2+9LcuvqloOcNdLa1OUVbjb0m7K3ubIvPEmLBPloEwHbSv08zsoPP
6PXrsxTVND46/CsOKDEkTz19jOsWyvUbbBBggPstKRkr9AeZckKRFhqAyt1sfd14
suO5ZfAOoML68rO9vlAj5UdhSzPwik6ehW3XJZfrv4tLkEWzS0eAU7yTOngL+Xmn
mGNjjAKf5bRhphnLfy3jcLcmNuUMTN39lqAHpN6bn7lh+YzRE18QerS81zvpZ1E=
=92o8
-----END PGP SIGNATURE-----

--Cvhdp4BUxX7dHJWuXNC7wOxcakK6NFXTg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f312318f-4ebe-0917-cab9-ff7d7e200759>