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

Re: Delete local, keep repository copy?

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Sat, 22 Aug 2009 12:52:11 -0700

Just move the branch(es) you want to keep on the local drive to another path
(that IS NOT a working copy) and everything will be fine.

The reason they show up as deleted is because the .svn direction in the
PARENT directory knows about them.

ex: WC
c:\src\work\PROJ
     trunk
     tags
     branches
        branch1
        branch2
        ....
        branchN

and you only want branch2 and branch5, just move them to c:\src\work\ (or
ANYWHERE not in an SVN working copy) and delete c:\src\work\PROJ and
everything will work as expected. The only caveat is that the two branches
will no longer be linked as part of the same working copy: you'll have to
manage them independently. E.g. if you put them into the same parent, you
can night do svn operations in that parent: it is not a working copy.

On Sat, Aug 22, 2009 at 5:38 AM, <paulc_at_ibiblio.org> wrote:

> I have a lot of branches of a project stored on my PC. I want to keep them
> in the repo, but delete them from the local drive. I know that if I just
> delete them, they'll show up as deleted in the next commit, which is what I
> don't want. The only other way I can think of is deleting the entire folder
> containing all the branches, trunk and tags and then re-checkout just the
> folders I want, but that'll take an age over the slow network connection.
>
> Is there any way I can delete the local directory, and then tell SVN that I
> know it's missing, so don't bug me? I'm guessing I could go into
> .svn/entries and remove the directories manually so SVN doesn't think they
> exist locally, then delete the local copies, but I'd rather not do that for
> risk of damaging the data.
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-22 21:52:24 CEST

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.