[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: Wed, 7 Jan 2009 10:53:29 +0800

Hi Ryan,
I have recreated the /svn/repos/abc and follow your instructions to create
/svn/repos/abc/def as will as the trunk, branches and tags under
/svn/repos/abc/def
by using the command sudo svn mkdir file:///svn/repos/abc/def/trunk -m trunk

but when i try to load the dump file it gave me the following message:
 sudo svnadmin load /svn/repos/abc/ --parent-dir def < /svn/dumprepos/
abc/def.dump
root's password:
<<< Started new transaction, based on original revision 1
svnadmin: File already exists: filesystem '/svn/repos/abc/db', transaction
'9-c', path 'def/branches'
     * adding path : def/branches ...sysu_at_neura-svn-01:/svn>

or can i just import the module from my old cvs module directly to the
/svn/repos/abc/def/
folder?

thanks
Yong

On Mon, Jan 5, 2009 at 4:41 PM, Ryan Schmidt <
subversion-2009a_at_ryandesign.com> wrote:

> On Jan 5, 2009, at 02:08, Yong Shiuh Rong wrote:
>
> i need to use svnadmin to create the branches, trunk and tags?
>>>>
>>>
>>> svnadmin can't create directories in a repository (see "svnadmin help");
>>> you'll need to use, for example, "svn mkdir
>>> file:///svn/repos/abc/def/branches".
>>>
>>
>> i created the branches, trunks and tags already, but after each creation i
>> was directed to a vi editor
>>
>
> Yes, so that you can enter a log message for the commit. If you prefer an
> editor other than vi, set the EDITOR environment variable. If you prefer to
> give your commit message at the command line, use the "-m" option, e.g. "svn
> mkdir file:///path/to/dir -m 'making dir'"
>
> and if i quite by using q!, i will get the following
>>
>> Log message unchanged or not specified
>> (a)bort, (c)ontinue, (e)dit :
>>
>> i choosed continue
>>
>
> Ok, then you entered no log messages for those commits.
>
> svn: Try 'svn mkdir --parents' instead?
>> svn: File not found: transaction '14-s', path '/def/branches'
>>
>
> That means the /def directory did not yet exist in the repository. You can
> either "svn mkdir" it first, or, as the error message says, use the
> "--parents" option to "svn mkdir" to create any intermediate directories
> automatically.
>
>
>
>
>
Received on 2009-01-07 14:51:40 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.