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

RE: svn repository issue

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 27 Jan 2009 16:07:35 -0500

Maybe because you didn't provide the correct parameters... you need to
do:

 

sudo svnadmin load --parent-dir /abc/def /Path/To/Repository<
/svn/dumprepos/abc/def.dump

 

Here is the prototype

 

sudo svnadmin load --parent-dir ARG REPOSITORY <
/svn/dumprepos/abc/def.dump

 

 

Bob

 

 

 

________________________________

From: Yong Shiuh Rong [mailto:shiuhrong_at_synamatix.com]
Sent: Sunday, January 04, 2009 10:56 PM
To: Ryan Schmidt
Cc: users_at_subversion.tigris.org
Subject: Re: svn repository issue

 

Hi Ryan

 

i am not sure if i have done the correct way, but when i tried the
following:

sudo svnadmin load --parent-dir /svn/repos/abc/def <
/svn/dumprepos/abc/def.dump

 

svnadmin: Repository argument required

 

yong

 

 

On Tue, Dec 30, 2008 at 4:41 PM, Yong Shiuh Rong
<shiuhrong_at_synamatix.com> wrote:

ok. thanks for the reply, i will try again

 

yong

 

On Tue, Dec 30, 2008 at 4:39 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:

On Dec 30, 2008, at 01:23, Yong Shiuh Rong wrote:

Ryan Schmidt wrote:

On Dec 23, 2008, at 22:22, Yong Shiuh Rong wrote:

        But i encounter another issue now, which is when i do the
"svnadmin dump /svn/repos/abc/repo1 > /path/to/dump1" as told i got the
following error.
        
         sudo svnadmin dump /svn/repos/abd/def/ >
/svn/dumprepos/abc/def/
        -bash: /svn/dumprepos/abc/def/: Is a directory
        
        is there anything i done wrong?

Give svnadmin the name of the file you want to dump to, e.g.:

sudo svnadmin dump /svn/repos/abd/def/ > /svn/dumprepos/abc/def.dump

 

i tried to run the following command:
sudo svnadmin load /svn/repos/abc/ < /svn/dumprepos/abc/hij.dump

but it gave me the following error:

<<< Started new transaction, based on original revision 1
svnadmin: File already exists: filesystem '/svn/repos/abc/db',
transaction '14-h', path 'branches'
    * adding path : branches

Ah, so both repositories contain the directory "branches" (and probably
the directories "tags" and "trunk" as well, yes?)

So you should be loading each repository into a subdirectory of the
destination repository instead. Look into the --parent-dir option to
svnadmin load. Note that you will need to "svn mkdir" the directory in
question before you can load anything into it with the --parent-dir
option.

i think i may redo the whole repository from scratch, is there any guide
so that i won't repeat the same mistake again?

 

You don't have to start over if you don't want to; just use the
--parent-dir option.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1060273

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 23:04:15 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.