[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

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-04-20 15:48:53 CEST

Robert Hudson wrote:
> I noticed that the svn import command has a --encoding option. Is it
> possible to have a similar option for the svn checkout command?
>
> I believe some-one has already created a patch at the following location
> (Thanks for the link Nathan)
>
> http://svn.haxx.se/dev/archive-2006-12/0311.shtml
>
> A bit more info on why I would like it available at:
>
> http://subversion.tigris.org/servlets/BrowseList?list=users&by=thread&fr
> om=576837
>
> And
>
> http://thread.gmane.org/gmane.comp.version-control.subversion.tortoisesv
> n.user/6273/focus=6289
>
> Please, Please, pretty please!

I think you are confusing a couple of distinct concepts. A file's character
encoding has precious little to do with the kinds of EOL characters used in it.

The --encoding option is a hint to Subversion when transforming data in
arbitrary character encodings (such as a log message) into the UTF-8 that
Subversion forcibly uses internally to store such data. Checkouts don't use
log messages, and Subversion does not perform character transcoding on file
contents, period, so --encoding really doesn't apply here at all.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Apr 20 15:49:01 2007

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.