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

Re: What do you Hate about Subversion?

From: Frodak <frodak17_at_yahoo.com>
Date: 2007-02-02 18:40:34 CET

--- Jeff Smith <jsmith@robotronics.com> wrote:

> On Friday 02 February 2007 09:30, Frodak wrote:
> > I consider a file with mixed EOLs to be a binary
> file.
> > If it was a text file then it wouldn't have mixed
> > EOLs. When I run into this issue on a file I know
> is
> > supposed to be text, I can easily fix the issue
> with
> > sed or tr or have my editor save with unmixed
> EOLs.
> >
> > I don't think that this is something SVN needs.
> But
> > if you guys do, by all means implement it
> >
> > :-)
> >
> > Frodak
>
> I was wondering if anyone can implement it. I've not
> done any work on
> this project but believe that asking the user
> instead of aborting the
> import would be trivial for a regular programmer
> already editing
> subversion source. I will do it if it comes to that,
> but would be
> useless if not widely accepted.
>
> OK I see you have not followed the discussion from
> the beginning nor
> the middle, or you have forgotten the issues. Go
> back and read
> archives. For example yes they were not
> intentionally mixed (verified
> text files but corrupted), and why make another tool
> that seeks out
> the 7 out of 1000 which have been corrupt when svn
> already does that,
> and no I'd prefer that svn tracked those changes, so
> I'd prefer a
> slightly different approach then converting the
> line-ends first and
> then importing the file. I'd not have imported my
> original text, now
> would I?

I don't know what version of SVN you are using but the
version I have handles it fine. If I have a file that
is marked with a 'svn:eol-style' no matter what I do
to the file when I diff it or check it in, it does not
care what I did to the EOLs. I can have the file
mixed or totally convert it to MAC or whatever. It
ignores the EOL changes.

The problem as described in the archives is that when
importing a file or adding a files with mixed EOLs.
The reason for this is because SVN has to know how
many blank lines there are in the file before it can
manage it for you. If I import a file with hex value
"0a 0d 0a 0a" is it supposed to be 3 or 4 blank lines
it is supposed to manage for that "text" file. How
could it possibly know?

I don't make another tool that checks for the 7 out of
1000. SVN will tell me the 7 out of the 1000.

 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 18:41:07 2007

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.