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

Re: svn import of working directory

From: Jeff Bowden <jlb_at_houseofdistraction.com>
Date: 2004-03-19 18:08:51 CET

Steve Karg wrote:

> Hi Ben,
>
>> There's a cute trick you can do, however, in the FAQ. It exactly
>> answers your question about '/etc':
>>
>> http://subversion.tigris.org/project_faq.html#in-place-import
>
>
> Well, that seems to work *only* if the repository is clean/empty.
> When I tried it using my existing repository, I got all the projects
> in the repository checked out into the destination directory. The
> feature of the 'add' won't work if you don't checkout something first,
> correct? Or did I not understand the FAQ?

If you want to do this with an existing repository the steps are more like

    svn mkdir url/of/repository/sompath/etc -m ''
    svn co url/of/repository/somepath/etc
    cd etc
    ...

I wrote that FAQ entry before I knew much about subversion. Now I know
better.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 19 18:09:49 2004

This is an archived mail posted to the Subversion Users mailing list.