Re: cvs2svn --fallback-encoding error

Michael Haggerty <[email protected]> Fri, 16 May 2014 08:57:48 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 05/15/2014 05:49 PM, Wang, John wrote:
> I am trying to execute the following command and got the error,
> 
> cvs2svn --fallback-encoding=ENC --svnrepos /shared/svn/oraclefr
> /shared/cvs/oraclefr
> 
> ERROR: unknown encoding: ENC
> 
> The encoding ENC is specified in the document. I am not sure what I got
> this error. Can somebody help me on this?

"ENC" is not a literal string that you should type into your command
line.  It is the place where you should type the name of the encoding
that you want to use a fallback encoding.  The standard encodings known
by Python are listed here:

    https://docs.python.org/2.7/library/codecs.html#standard-encodings

Other encodings are available via external packages, for the case that
you use something even more exotic.

So in the end you would type something like

    cvs2svn --fallback-encoding=utf_8 --svnrepos /shared/svn/oraclefr \
        /shared/cvs/oraclefr

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3078465

To unsubscribe from this discussion, e-mail: [[email protected]].