You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Grundman <an...@hybridized.org> on 2005/06/08 13:47:18 UTC
Loading 1.0.5 dumpfile into 1.2.0 - Invalid control character '0x08'
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?
Thanks,
--
Andy Grundman
andy@hybridized.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Loading 1.0.5 dumpfile into 1.2.0 - Invalid control character '0x08'
Posted by Ben Collins-Sussman <su...@collab.net>.
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