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

Re: 'Import' a Working Copy?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-06-07 22:11:22 CEST

On 6/7/06, Raterus <raterus@hotmail.com> wrote:
> Hello,
>
> I've performed a CheckOut from a public SVN repository and now have a local working copy. I'd like to turn around and import this into my local repository, but it appears TortoiseSVN hides that sub-menu option. Is there any way to do this? I don't really understand why you wouldn't be able to do this.

A working copy is directly linked to the URL it was checked out from -
it's a one to one relationship. So you effectively can't check out
from one place, then check that same WC into or import to another.

If you want to have a local working copy so that updates for your
vendor branch don't require a full checkout each time, the following
steps may work (haven't done it myself):

1) Initial Checkout from vendor's repository
2) Export WC to another directory
3) In-place import [1] the resulting files into your repository

When you update from the vendor, perform an update at step 1 above,
export, and then a commit from the directory in step 3 (instead of an
import).

Pay careful attention to the vendor branch documentation from earlier
where it noted that you will need to make sure you remove files that
were deleted in the vendor's repository.

[1] http://subversion.tigris.org/faq.html#in-place-import

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jun 7 22:11:31 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.