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

Re: svn checkout --encoding ENC

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-04-19 17:55:02 CEST

Robert Hudson wrote:
> We have one repository that we build on both Windows and UNIX
> (Solaris, AIX, HPUX, Linux). When we checkout to Windows we need
> CRLF on all files and for UNIX we need LF. In order to be able to
> switch these I have left the subversion svn:eol-style property to
> native.
>
> I can get the correct behaviour if I checkout Windows from a Windows
> OS and UNIX using the svn on the actual UNIX machine.
>
> However what I would like to be able to do is run everything from the
> Windows checkout over a mapped network drive to a UNIX machine and
> have it checkout using LF format. (Due to several tools etc that we
> are using).
>
> I noticed that the svn import command has a --encoding option to
> achieve this. Is it possible to have a similar option for the svn
> checkout command?

Hi Rob,

You may be interested in this patch that adds a --native-eol command to
checkout/update: http://svn.haxx.se/dev/archive-2006-12/0311.shtml

However, to solve your original problem you may not need this. See my
reply to your other query on the TortoiseSVN user's list:
http://svn.haxx.se/tsvnusers/archive-2007-04/0145.shtml

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 19 17:51:49 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.