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

Re: svn export

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-12-13 23:23:43 CET

On Thu, Dec 13, 2001 at 04:54:08PM -0500, Greg Hudson wrote:
> Greg Stein wrote:
> > On Thu, Dec 13, 2001 at 06:27:16PM +0100, Sander Striker wrote:
> >> ...
> >> I do think that svn _export_ should do no conversion and just give
> >> back the style from the repos. This will make the distro making
> >> pains go away AFAICT.
>
> > That is a truly excellent point.
>
> Whoa. So, given that you favor Bruce's scheme, a Subversion tarball
> would have some source files using CRLF line endings (if they were
> first created by a Windows developer) and some using LF line endings?
> I'm sure that would go over well...
>...

Oh. Right. I was only thinking in terms of the .dsp issue, where the person
creating the tarball/zip is packaging them on Unix. Hmm... not sure what I
was thinking. It just sounded "right" there for a bit.

Thanks for the head bounce. :-)

Okay... with more thought this time:

* export obeys the line endings property. all files end up in "native"
  format where specified. files with a specific format get that one.

* export has a switch to specify what "native" is translated to. this allows
  a unix packager to do:
  
      $ svn export --newlines=CRLF http://host/path -d package-X.Y
      $ zip package-X.y

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:53 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.