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

Re: Remove a working copy from svn when the repository has been deleted.

From: Felix Saphir <felix.saphir_at_kantarmedia.de>
Date: Thu, 17 Feb 2011 18:03:31 +0100

Am 17.02.2011 17:13, schrieb Wade:
>
> I'm completely new to SVN. I've downloaded Tortoise and have just been
> experimenting. There is a project that I have that I imported into the
> system which is now a blessed working copy. However, I decided to move
> where the repository is located and so the original repo for this
> working copy is deleted.

Then you can change the URL in your working copy with the relocate command.

> 1) How does TortoiseSVN "know" that this is a blessed/working copy of
> a project if the source repository no longer exists? Is this in a file
> locally on my machine?

It doesn't. In the .svn subfolders of your working copy are special
files (and you shouldn't mess with these ...) where the URL and the most
recent version checked out /updated to is kept (known as working base).
Only if you try to commit or update (and similar) TortoiseSVN contacts
the repository.

> 2) How do I remove the project form source management so that Tortoise
> no longer recognizes the files as belonging to the now non existent
> repo.

You can remove the .svn subfolders from your working copy. Do that (with
care) either manually or with an Export operation.

> I'm in the process of reading the book TortoiseSVN 1.7. I have just
> discovered the delete (keep local) command which obviously isn't quite
> what I want since it requires a commit. :p
>
> My goal here is to start from scratch and learn Toroise/SVN thoroughly
> before I start committing my actual important source code to the
> system.

Setup a "learning repository" for yourself, and try all that fancy stuff
like branching and merging. And remember: even if you make a mistake,
you can almost almost always get a fresh working copy at an earlier
revision :)

Felix

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2705126

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-17 18:03:48 CET

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.