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

Re: funny error handling for inconsistent line endings

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 24 Sep 2009 13:16:35 +0100

On Thu, 2009-09-03, Jay Foad wrote:
> > This is filed as
> >
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2713
> >
> > and
> >
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2925
>
> Good point. Thanks!

I fixed issue #2713 in the trunk code at r39557 and marked #2925 as a
duplicate of it. The fix makes "svn add" fail cleanly, without adding
the inconsistent file. This should at least make it easier to deal with
because then you will just need to clean up the line endings and re-run
the add to continue until the next inconsistent file. (With this bug
present, you can re-run the add to continue with other files, but as
well as cleaning up the file you also have to set its properties
manually.)

The fix will come out in Subversion 1.7. It is technically easy to
back-port the fix to 1.6.x but I don't know if we will.

GUIs could skip all such inconsistent files but continue with the
others, and then give a summary of problems, or have an option to
"correct" the inconsistent line endings. I do not intend to work on
those sorts of behaviour changes in "svn".

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2399263

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-24 14:20:24 CEST

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

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