[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: Yong Shiuh Rong <shiuhrong_at_synamatix.com>
Date: Tue, 30 Dec 2008 16:41:46 +0800

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=995623

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