[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Ignore newline characters in shell view and Commit and related dialogs?

From: Wayne Johnson <wayne_at_zk.com>
Date: Fri, 19 Oct 2012 11:36:13 -0700

> -----Original Message-----
> From: Ben Johnson [mailto:ben_at_indietorrent.org]
> Sent: Friday, October 19, 2012 7:54 AM
> To: users_at_tortoisesvn.tigris.org
> Cc: Dale McCoy
> Subject: Re: Ignore newline characters in shell view and Commit and
> related dialogs?
>
> On 10/19/2012 10:35 AM, Dale McCoy wrote:
> > On Fri, Oct 19, 2012 at 10:03 AM, Ben Johnson <ben_at_indietorrent.org>
> wrote:
> >> Hello,
> >> I realize that the *diff* viewer is capable of ignoring newline
> >> differences, as well as white-space differences.
> >>
> >> I'm wondering if the same filtering can be applied to the Explorer
> >> shell view and icon overlays, as well as the Commit and related
> dialogs.
> >
> > This change would have to happen in the subversion libraries, not in
> > TortoiseSVN. But I doubt you'll get them to make the change either.
> > This sounds to me like an appropriate use for unix2dos or some other
> > whitespace normalizer.
> >
> > Dale
>
> Thanks for the response, Dale.
>
> Ah, I see... it seems that I'm barking up the wrong tree, so to speak.
>
> I am familiar with unix2dos (and its converse), and I'll go down that
> road if there is no other option, but my hope was to avoid having to
> use it every time I need to merge changes from this particular source.
>
> In any case, I appreciate your insights.
>

You don't provide all the details for your work flow; however, there are
options that can be set that change how SVN handles newlines. Setting
the svn:eol-style property on the files in question might help with the
problem. Maybe you have already looked into this. In case you have not
here are some links.

Properties are discussed at length here:
http://svnbook.red-bean.com/en/1.7/svn.advanced.props.html

The svn:eol-style property is discussed here

http://svnbook.red-bean.com/en/1.7/svn.advanced.props.file-portability.h
tml#svn.advanced.props.special.eol-style

Wayne

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3022040

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-10-19 20:36:18 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.