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

RE: Question about "commit" not committing everything

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2007-06-14 13:02:15 CEST

Hi Lasse,

You wrote:

> I will fix my line endings and keep the property, however what is the
> formal procedure for reporting this as a bug to TSVN or SVN so that
> it can be fixed?

Report it to the SVN mailing list. TSVN is just using the svn libraries for
its actions.

>>> 2. Not add the line-ending, and accept that some files have
>>> inconsistent line endings
>>
>> This may lead to diff&merge programs failing on the file.
>
> Upon reading in on this, it seems SVN will keep the files in an
> internal state with only the LF characters in place,

...if the svn:eol-style property is set. If the property is not set, svn
neither reports inconsistencies nor touches the line endings.

> so I don't see
> how other SVN programs would fail with this problem. However, when
> doing a Get latest, I understand that unless I have this property the
> file won't have the right line ending type on my system so the
> software I use to maintain the files might not work.

svn:eol-style=native is normally the best choice, since checkouts on unix
will have LF on Windows CR+LF and CR on systems that use CR.

> I will have to use the Add command consistently when adding new files
> then.

Normally I do it this way. I ignore unversioned files and do not add from
the commit dialog directly.

Are you adding files with inconsistent line endings from the commit dialog?
When I do this with a current nightly, the commit fails and I get an
"inconsistent newlines" error message in the commit dialog. This happens
every time i try. I can't commit this file and the file doesn't have the
svn:eol-style property set.
I can't reproduce this behavior. I can't commit the file with inconsistent
newlines.

Have you tried a with recent nightly of TortoiseSVN? It is linked against
subversion 1.5.0. Maybe the problem is already fixed in the 1.5.0 libraries.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jun 14 13:03:26 2007

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