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

Re: Can import also convert the source to a working copy

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Thu, 15 Mar 2018 15:21:35 +0100

On Thu, 15 Mar 2018 12:03:53 +0100, Johan Corveleyn
<jcorvel_at_gmail.com> wrote:

>> Is there some flag or such that can help out during the import or in a
>> following checkout so that the extra directory >something else> does
>> not need to be used?
>> Or can I just move the .svn dir from the working copy to the original
>> project and then it will be converted in place?
>See http://subversion.apache.org/faq.html#in-place-import

Seems like the best option is as follows:
svn import WiFiConfig <url>/WiFiConfig/trunk --depth files -m "msg"
svn co <url>WiFiConfig/trunk --force WiFiConfig

I.e. First import the directory and then immediately check out the
same with --force

It still takes some time because I think svn needs to download the
files into the cache in the .svn directory.
I have a rather slow connection to the server from where I am...

Bo Berglund
Developer in Sweden
Received on 2018-03-15 15:21:50 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.