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

Re: Loading 1.0.5 dumpfile into 1.2.0 - Invalid control character '0x08'

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-08 19:20:39 CEST

On Jun 8, 2005, at 6:47 AM, Andy Grundman wrote:

> I just upgraded from 1.0.5 with bdb 4.2 to 1.2.0 with fsfs. I used
> the following commands to convert my repositories from bdb to fsfs:
>
> svnadmin create --fs-type=fsfs local.fsfs
> svnadmin dump -q local | svnadmin load local.fsfs
>
> I receive the following error during the load:
>
> * adding path : path/to/dir ... done.
> * adding path : path/to/dir ...svnadmin: Invalid control character
> '0x08' in path 'path/to/dir'
>
> The same directory appears twice, first saying "done" and then
> erroring out. This directory works fine in the bdb repos, and
> doesn't appear to have a backspace character anywhere in the path.
> I did a full svnadmin dump with my old 1.0.5 version of svnadmin
> just to be sure the error wasn't caused by using a newer svnadmin
> version. This resulted in the same error.
>
> Is there a way to fix this or work around it?

Yes, remove the 0x08 control character from the dumpfile.

Control characters aren't allowed in path names or log messages, but
somehow one must have snuck into your repository. svn 1.2 is more
aggressive about preventing control characters from entering the
repository, so that's why you're seeing the error from 1.2 'svnadmin
load'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 8 19:24:06 2005

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