You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter Herth <he...@peter-herth.de> on 2007/05/10 15:17:14 UTC

Problems loading a dumpfile

Hi,

I tried to add the content of a small svn repository via duming it out
to a dumpfile and then loading the dumpfile into the existing
repository. When I try to do it, I get the following message:

svnadmin load /foo/bar/repository/ --parent-dir newmodule < newmodule.dump
<<< Started new transaction, based on original revision 1
svnadmin: File not found: transaction '1023-6', path 'newmodule/trunk'
     * adding path : newmodule/trunk ...

and it returns to the shell without doing anything.
Any idea where to start debugging?

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems loading a dumpfile

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 11, 2007, at 02:27, Peter Herth wrote:

> Thank you, I missed that piece from the documentation, silly me.

No worries; many people come here asking this question. Perhaps the  
docs could be more clear.

> Just for the sake of completeness, before I tried to load the dumpfile
> without the  --parent-dir option, the layout of the repository  
> loaded was
> having /trunk/newmodule and in the repository I was loading into,  
> there was
> also a trunk, but without a newmodule directory. Am I right to  
> assume, that
> having /trunk in both created a collision preventing loading?
> As I think of it, that would make sense as while svn repositories  
> look very much
> like filesystems, both trunks are items with different histories...

Yes, I think that would be why. It's similar to how it is in a  
working copy. The dumpfile is trying to do an "svn add" of trunk, but  
trunk already exists, so it can't add it.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems loading a dumpfile

Posted by Peter Herth <he...@peter-herth.de>.
Thank you, I missed that piece from the documentation, silly me.
Just for the sake of completeness, before I tried to load the dumpfile
without the  --parent-dir option, the layout of the repository loaded was
having /trunk/newmodule and in the repository I was loading into, there was
also a trunk, but without a newmodule directory. Am I right to assume, that
having /trunk in both created a collision preventing loading?
As I think of it, that would make sense as while svn repositories look very much
like filesystems, both trunks are items with different histories...

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems loading a dumpfile

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 10, 2007, at 10:17, Peter Herth wrote:

> I tried to add the content of a small svn repository via duming it out
> to a dumpfile and then loading the dumpfile into the existing
> repository. When I try to do it, I get the following message:
>
> svnadmin load /foo/bar/repository/ --parent-dir newmodule <  
> newmodule.dump
> <<< Started new transaction, based on original revision 1
> svnadmin: File not found: transaction '1023-6', path 'newmodule/trunk'
>     * adding path : newmodule/trunk ...
>
> and it returns to the shell without doing anything.
> Any idea where to start debugging?

The directory "newmodule" apparently does not exist in your existing  
repository. Make it first, using "svn mkdir". Then you can load the  
dumpfile.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org