You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Robert Hudson <rh...@tibco.com> on 2007/04/20 11:25:49 UTC

svn checkout --encoding

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!

Thanks

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn checkout --encoding

Posted by "C. Michael Pilato" <cm...@collab.net>.
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 <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand