Re: Ignore Whitespace During *Merge*

Jamie Jackson <[email protected]> Fri, 22 Apr 2016 10:56:08 -0400
Newsgroups gmane.comp.version-control.subversion.subclipse.user
Message-ID <CA+onWPdR95UEwwy0zv7FsfOY1oGAbi62utQH7Y-YibAa1bTQew@mail.gmail.com>
------=_Part_8433_73867549.1461336972454
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I can't claim to know squat about JavaHL, but is this the option?
https://subversion.apache.org/docs/javahl/latest/org/apache/subversion/javahl/SVNUtil.DiffOptions.IgnoreSpace.html#change

If there's an upstream enhancement to be filed (to the Subversion/JavaHL
team), I don't mind doing it, but I'll need to be able to write an
intelligible ticket.

Thanks,
Jamie

On Thu, Apr 21, 2016 at 3:03 PM, Mark Phippard <[email protected]> wrote:

> Those options are not available.  I think things might have changed in
> recent SVN releases, but the last time we touched this code the JavaHL API
> did not expose any of these options to us in the API so we were not able to
> expose them in our UI.  As a C++ client, TortoiseSVN has access to the full
> Subversion API.
>
> Mark
>
> On Thu, Apr 21, 2016 at 2:36 PM, Jamie Jackson <[email protected]>
> wrote:
>
>> This topic came up before (
>> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=907463
>> ), but I'm not sure it was really resolved.
>>
>> In TortoiseSVN, there are a few whitespace-related options in the merge
>> dialogs:
>>
>>    - Ignore line endings
>>    - Compare whitespace
>>    - Ignore whitespace changes
>>    - Ignore all whitespaces
>>
>> (The last three are radios, BTW--mutually exclusive.)
>>
>> I routinely use the "ignore whitespace changes," and that affects
>> behavior at *merge* time. In other words, that tends to create fewer
>> conflicts when there are wholesale indentation changes going on.
>>
>> The option "Ignore whitespace" in Eclipse don't seem to behave the same
>> way; rather, it seems to affect what is *displayed* in the conflict
>> resolution diff, rather than affecting the behavior of the automated merge,
>> itself.
>>
>> After all these years, I still need TortoiseSVN in my toolbox because of
>> this feature; however, I'd love to drop it.
>>
>> Please let me know if I've missed some option to emulate the *merge* (not
>> the diff viewing) behavior in Subclipse. Otherwise, please treat this as an
>> enhancement request.
>>
>> Thanks,
>> Jamie
>>
>
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3169868

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_8433_73867549.1461336972454
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I can&#39;t claim to know squat about JavaHL, but is this =
the option? <a href=3D"https://subversion.apache.org/docs/javahl/latest/org=
/apache/subversion/javahl/SVNUtil.DiffOptions.IgnoreSpace.html#change">http=
s://subversion.apache.org/docs/javahl/latest/org/apache/subversion/javahl/S=
VNUtil.DiffOptions.IgnoreSpace.html#change</a><div><br></div><div>If there&=
#39;s an upstream enhancement to be filed (to the Subversion/JavaHL team), =
I don&#39;t mind doing it, but I&#39;ll need to be able to write an intelli=
gible ticket.</div><div><br></div><div>Thanks,</div><div>Jamie</div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Apr 21, 20=
16 at 3:03 PM, Mark Phippard <span dir=3D"ltr">&lt;<a href=3D"mailto:markph=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Those options are not avai=
lable.=C2=A0 I think things might have changed in recent SVN releases, but =
the last time we touched this code the JavaHL API did not expose any of the=
se options to us in the API so we were not able to expose them in our UI.=
=C2=A0 As a C++ client, TortoiseSVN has access to the full Subversion API.<=
div><br></div><div>Mark</div></div><div class=3D"gmail_extra"><div><div cla=
ss=3D"h5"><br><div class=3D"gmail_quote">On Thu, Apr 21, 2016 at 2:36 PM, J=
amie Jackson <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div dir=3D"ltr"><div>This topic came up before ( <a hr=
ef=3D"http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=3D1047&amp;ds=
MessageId=3D907463" target=3D"_blank">http://subclipse.tigris.org/ds/viewMe=
ssage.do?dsForumId=3D1047&amp;dsMessageId=3D907463</a> ), but I&#39;m not s=
ure it was really resolved.</div><div><br></div><div>In TortoiseSVN, there =
are a few whitespace-related options in the merge dialogs:</div><div><ul><l=
i>Ignore line endings</li><li>Compare whitespace</li><li>Ignore whitespace =
changes<br></li><li>Ignore all whitespaces</li></ul><div>(The last three ar=
e radios, BTW--mutually exclusive.)</div></div><div><br></div><div>I routin=
ely use the &quot;ignore whitespace changes,&quot; and that affects behavio=
r at <i>merge</i>=C2=A0time. In other words, that tends to create fewer con=
flicts when there are wholesale indentation changes going on.</div><div><br=
></div><div>The option &quot;Ignore whitespace&quot; in Eclipse don&#39;t s=
eem to behave the same way; rather, it seems to affect what is <i>displayed=
</i>=C2=A0in the conflict resolution diff, rather than affecting the behavi=
or of the automated merge, itself.</div><div><br></div><div>After all these=
 years, I still need TortoiseSVN in my toolbox because of this feature; how=
ever, I&#39;d love to drop it.</div><div><br></div><div>Please let me know =
if I&#39;ve missed some option to emulate the <i>merge</i>=C2=A0(not the di=
ff viewing) behavior in Subclipse. Otherwise, please treat this as an enhan=
cement request.</div><div><br></div><div>Thanks,</div><div>Jamie</div></div=
>
</blockquote></div><br><br clear=3D"all"><div><br></div></div></div><span c=
lass=3D"HOEnZb"><font color=3D"#888888">-- <br><div>Thanks<br><br>Mark Phip=
pard<br><a href=3D"http://markphip.blogspot.com/" target=3D"_blank">http://=
markphip.blogspot.com/</a></div>
</font></span></div>
</blockquote></div><br></div>

------=_Part_8433_73867549.1461336972454--