You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Himanshu Raina <ra...@yahoo.com> on 2010/07/01 09:02:54 UTC

error while restoring repository from dump

Hi,
Since I was moving to a new server, I dumped existing repository data using 
svnadmin dump /pathto/repos > data.dump
Next I create a new repository on the new server and tried to load data using
svnadmin load /pathto/repos < data.dump
While loading data it gave me the following error.
<<< Started new transaction, based on original revision 105 svnadmin: Invalid control character '0x0d' in path 'branches/test01/htdocs/property/\015'
Any idea how can this be resolved. I tried excluding this path  using svndumpfilter but it didn't help either.
RegardsHimanshu Raina



Re: error while restoring repository from dump

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Himanshu Raina wrote on Thu, 1 Jul 2010 at 13:57 -0000:
> Hi,
> The dump file gives the same error on the old machine as well (i.e if I try to restore the repository on the old server I get the same error).

Okay.

> I don't see  \015 in the repository.

How did you check?

(I'm not sure what to suggest; perhaps 'svnlook tree', perhaps grep, 
perhaps something else)

> Another thing, the revision number at which it stops doesn't seem to have anything that has "\015".
> RegardsHimanshu Raina

Daniel

> --- On Thu, 1/7/10, Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> 
> From: Daniel Shahaf <d....@daniel.shahaf.name>
> Subject: Re: error while restoring repository from dump
> To: "Himanshu Raina" <ra...@yahoo.com>
> Cc: users@subversion.apache.org
> Date: Thursday, 1 July, 2010, 3:47 PM
> 
> Himanshu Raina wrote on Thu, 1 Jul 2010 at 12:02 -0000:
> > Hi,
> > Since I was moving to a new server, I dumped existing repository data using 
> > svnadmin dump /pathto/repos > data.dump
> > Next I create a new repository on the new server and tried to load data using
> > svnadmin load /pathto/repos < data.dump
> > While loading data it gave me the following error.
> > <<< Started new transaction, based on original revision 105 svnadmin: Invalid control character '0x0d' in path 'branches/test01/htdocs/property/\015'
> 
> I'd like to know if the \015 (LF) is part of the pathname in the
> original repository.  Can you check that?
> 
> 
> Can you compare the data.dump file on the old/new server, to make sure
> nothing changed its line endings en route?  (try SHA-1 or something else
> that doesn't ignore whitespace)
> 
> > Any idea how can this be resolved. I tried excluding this path  using svndumpfilter but it didn't help either.
> 
> How exactly did you run svndumpfilter?  Try excluding one of the parents
> of this path.
> 
> > RegardsHimanshu Raina
> > 
> > 
> > 
> 
> 

Re: error while restoring repository from dump

Posted by Himanshu Raina <ra...@yahoo.com>.
Hi,
The dump file gives the same error on the old machine as well (i.e if I try to restore the repository on the old server I get the same error).
I don't see  \015 in the repository. Another thing, the revision number at which it stops doesn't seem to have anything that has "\015".
RegardsHimanshu Raina
--- On Thu, 1/7/10, Daniel Shahaf <d....@daniel.shahaf.name> wrote:

From: Daniel Shahaf <d....@daniel.shahaf.name>
Subject: Re: error while restoring repository from dump
To: "Himanshu Raina" <ra...@yahoo.com>
Cc: users@subversion.apache.org
Date: Thursday, 1 July, 2010, 3:47 PM

Himanshu Raina wrote on Thu, 1 Jul 2010 at 12:02 -0000:
> Hi,
> Since I was moving to a new server, I dumped existing repository data using 
> svnadmin dump /pathto/repos > data.dump
> Next I create a new repository on the new server and tried to load data using
> svnadmin load /pathto/repos < data.dump
> While loading data it gave me the following error.
> <<< Started new transaction, based on original revision 105 svnadmin: Invalid control character '0x0d' in path 'branches/test01/htdocs/property/\015'

I'd like to know if the \015 (LF) is part of the pathname in the
original repository.  Can you check that?


Can you compare the data.dump file on the old/new server, to make sure
nothing changed its line endings en route?  (try SHA-1 or something else
that doesn't ignore whitespace)

> Any idea how can this be resolved. I tried excluding this path  using svndumpfilter but it didn't help either.

How exactly did you run svndumpfilter?  Try excluding one of the parents
of this path.

> RegardsHimanshu Raina
> 
> 
> 


Re: error while restoring repository from dump

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Himanshu Raina wrote on Thu, 1 Jul 2010 at 12:02 -0000:
> Hi,
> Since I was moving to a new server, I dumped existing repository data using 
> svnadmin dump /pathto/repos > data.dump
> Next I create a new repository on the new server and tried to load data using
> svnadmin load /pathto/repos < data.dump
> While loading data it gave me the following error.
> <<< Started new transaction, based on original revision 105 svnadmin: Invalid control character '0x0d' in path 'branches/test01/htdocs/property/\015'

I'd like to know if the \015 (LF) is part of the pathname in the
original repository.  Can you check that?


Can you compare the data.dump file on the old/new server, to make sure
nothing changed its line endings en route?  (try SHA-1 or something else
that doesn't ignore whitespace)

> Any idea how can this be resolved. I tried excluding this path  using svndumpfilter but it didn't help either.

How exactly did you run svndumpfilter?  Try excluding one of the parents
of this path.

> RegardsHimanshu Raina
> 
> 
>