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

Re: scheduling, and gui clients (Win, Mac)

From: Wilfredo Sanchez <wsanchez_at_apple.com>
Date: 2000-12-01 02:07:59 CET

> I was also pondering, what the 'correct' line endings in Mac
> OS X text files are. Is it the old Mac OS style or UNIX style?
> Will SVN do line ending conversion for text files? It should,
> right?

  The story on Mac OS X is that clients are generally expected to
understand either but output Unix newlines. That is, there will be
plenty of text files transfered over from Mac OS 9 media and whatnot
which will have CRLF (or whatever it is) line endings and text editors
should deal with it (word processors, emacs, etc.). We won't be
fixing BSD to deal with it tough (although I think the compiler
toolchain does).

  Anyway, both forms will be present on the native system, and I
don't think it's svn's job to clean up line endings. I certainly
don't want it deciding what the right one is for me; it might depend
on what I use the file for. We've not run into any real problems
with this in using CVS, so I don't expect it to matter in svn either.

  Mac OS 9 and Windows clients will probably want to do the same
thing CVS clients do and convert newlines.

> Well, remember the turds discussion? An idea was to have the
> option to keep folders turd-free and store the turds in
> question in parent (or grandparent ...) SVN folders. All this
> would then sit in the SVN libraries, though and thus wouldn't
> be a Mac OS specific issue.

  There are a few options here, yes.

> Thanks for putting this in simple terms here. That kind of
> thing was what I had expected, but didn't know enough about
> APR to quantify the effort (if we take "a fair bit of work"
> as a quantification... ;-)

  Honestly, I don't know specifics either; I don't program to
the Mac toolbox, and never have. I'm mostly a BSD coder, and what
little UI stuff I do, I use Cocoa (OpenStep) for.

        -Fred

Wilfredo Sánchez, wsanchez@apple.com
Open Source Engineering Lead
Apple Computer, Inc., Core Operating System Group
1 Infinite Loop, Cupertino, CA 94086, 408.974-5174
Received on Sat Oct 21 14:36:15 2006

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

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