Re: E125005: Cannot accept 'svn:ignore' property because it is not encoded in UTF-8

olli hauer <[email protected]> Mon, 01 Oct 2012 21:12:33 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 2012-10-01 13:48, Michael Herrmann wrote:
> Hello,
> 
> SELES 11, cvs2svn 2.4.0-dev. During migration I get the following error:
> 
> ERROR: svnadmin failed with the following output while loading the dumpfile:
> svnadmin: E125005: Invalid property value found in dumpstream; consider
> repairing the source or using --bypass-prop-validation while loading.
> svnadmin: E125005: Cannot accept 'svn:ignore' property because it is not
> encoded in UTF-8
> 
> I use the following options:
> encoding = iso8859_1
> fallback-encoding = ascii
> default-eol = native
> tmpdir = /opt/data/mig1/cvs2svntemp/ebacode
> retain-conflicting-attic-files

Hi Michael,

do not use ascii as fallback.

I had best results with the following setting
(copied from one of my old options files)

...
ctx.cvs_author_decoder = CVSTextDecoder(
    [
        'iso-8859-1',
        'utf8',
        'latin1',
        #'ascii',
        ],
    #fallback_encoding='ascii'
    )
ctx.cvs_log_decoder = CVSTextDecoder(
    [
        'iso-8859-1',
        'utf8',
        'latin1',
        #'ascii',
        ],
    #fallback_encoding='ascii',
    eol_fix='\n',
    )
# You might want to be especially strict when converting filenames to
# Unicode (e.g., maybe not specify a fallback_encoding).
ctx.cvs_filename_decoder = CVSTextDecoder(
    [
        'iso-8859-1',
        'utf8',
        'latin1',
        #'ascii',
        ],
    #fallback_encoding='ascii'
    )

// olli

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

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