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

Michael Haggerty <[email protected]> Wed, 03 Oct 2012 09:18:12 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 10/02/2012 11:02 AM, Michael Haggerty wrote:
> On 10/01/2012 01:48 PM, Michael Herrmann wrote:
>> 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
> 
> Hmmm, I don't think I've seen this problem before.
> 
> From the error message, it sounds like Subversion insisting that the
> contents of the svn:ignore property be UTF-8 encoded.  This property is
> derived from the contents of .cvsignore files in your repository.
> Presumably you have non-ASCII filenames listed in one of your .cvsignore
> file in an encoding that is not UTF-8.  Perhaps this has never come up
> before, or (IMO more likely) perhaps "svnadmin load" has become more
> picky about rejecting invalid svn:ignore values.
> 
> The code where this is done is in svn_dump.py:
> DumpstreamDelegate._add_or_change_path() and the function
> generate_ignores().  It doesn't attempt any decoding of the file
> contents.  The contents of the .cvsignore file should be run through the
> cvs_filename_decoder.
> 
> I am working on a fix.  I hope to have it done in the next day or so.

I think your problem should be fixed in the trunk version of cvs2svn by
commits r5395-5400.  It's rather hard to test, so please

1. Run the test suite on your system to see if it works there.

2. See if it fixes the problem with your own conversion.

Let us know what you find out!

Michael

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

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

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