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

Re: Slight visual bug with Add dialog, and question

From: Stefan KŁng <tortoisesvn_at_gmail.com>
Date: 2005-10-25 19:43:44 CEST

Pete Mounce wrote:

> Using 1.2.4.4484, when I add a bunch of files, I sometimes get an error
> "File <filename> has inconsistent newlines". There are two issues:
>
> a) the dialog box does not scroll to include the error - if it occurs,
> the error is on the last line of the dialog but is not scrolled into
> view.

Is it really an error or just a warning?
The scrolling has been fixed on trunk.

> b) according to the overlays, it appears to have added the file
> _anyway_. If I do the add on the directory again, the file doesn't
> appear in the list; it's already marked as added. If I commit,
> presumably it will go through to the repo (I just did; it did without
> complaint). Is that intended?

Yes. This should only be a warning. It tells you that the file has
inconsistent line endings (e.g. CRLF and LF mixed together), and you've
set the svn:eol-style property. With that property, those lineendings
will be corrected automatically when you check out the file again.
The file in your working copy isn't touched though, so you can always
revert (that's why it is a warning, not an error).

Also, this could only happen if you have the svn:eol-style property set
in the autoprops settings. Otherwise when adding files this can't happen.

> Also, I noticed that the commit window stops scrolling to keep the last
> item in view when it gets to the sending content stage. Again,
> intended?

No. And it's fixed in HEAD.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Oct 25 20:32:09 2005

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

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