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