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

Re: Inconsistent newlines

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 18 Jan 2008 17:50:33 +0100

Hans Guijt wrote:

> Once in a while I am greeted by the message that file 'such-and-such'
> has inconsistent newlines. This happens, among other times, when setting
> the svn:eol-style property to 'native' on a file that has a mix of UNIX
> and Windows newlines.
> While I'm obviously very happy that Tortoise does not change the file
> without asking first, I was wondering if you could perhaps add an option
> to change the file directly from the dialog box? Right now the dialog is
> informational only, but maybe it is possible to add a button to "convert
> file to my selected eol-style"?

The problem here is that as soon as that message is shown, the whole
'add' command already stopped/failed.
If you really want such a feature, I think you have to ask on the
Subversion mailing list for it (dev at subversion tigris org), because
their API returns with an error in such cases (TSVN shows you the error
from that API).

> I know it is only a small thing, but Tortoise is such a slick package
> otherwise and this bothers me every time I run into it ;-)

I have the same problem from time to time. But I always use it as an
opportunity to find out *why* I have inconsistent newlines. And then I
report that to the editor/IDE/whatevertool developers who messed up the
newlines while I was editing the file.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-18 17:53:03 CET

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.