[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit Error in conversion of types

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 25 Jan 2013 10:14:19 +0000

Julio Palma <julio_at_sigcorp.com.br> writes:

> My name is Julio Cesar, I made a configuration a Subversion server in a
> Ubuntu Linux, and I have a Lot of troubles with encoding format from my
> archives sources, some sources are write on windows-1252 and when I
> submit/commit, the files given me a error like described:
>
> Some of selected resources were not committed.
> Some of selected resources were not committed.
> svn: E200030: Commit failed (details follow):
> svn: E200030: Commit failed (details follow):
> svn: E200030: disk I/O error
> svn: E200030: disk I/O error
> svn: E200029: Couldn't perform atomic initialization
>
> Searching on the web, I dont have any source of information about this, and
> I need to do maintenance at many sources with the same problem.
>
> I need to know:
>
> 1. Exists one way to convert this files with a svn command?
> 2. It is a permission problem?
> 3. or both?
>
>
> One way that I do for fix it, was use linux shell, in the follow sequence :
>
> 1. convert the file with iconv command:
> "iconv -c -f WINDOWS-1252 -t UTF-8 file.php > newfile.php | mv file.php
> file.php_old | newfile.php file.php"
>
> 2. "Checkout" from the folder from original revision, I move the file.php
> and rewrite the same file.php and follow a "svn commit", then the source
> finish with sucess.
>
> I need to fix it's in my repository, from one way that will be clean and
> safe.

The error numbers are:

00200030 SVN_ERR_SQLITE_ERROR
00200029 SVN_ERR_ATOMIC_INIT_FAILURE

I think that is a problem accessing .svn/wc.db in your working copy, the
file is corrupt or unreadable or something. I've never seen that error
before. Do you still have the working copy? Can you reproduce the
error?

Subversion does not care about the encoding of file.php in the
repository, it can handle files in any encoding.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-01-25 11:15:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.