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

Re: How to "un-checkout" from svn

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Wed, 5 Mar 2008 18:46:20 -0800

This *is* mentioned in the svn-book, the most relevant doc: **

http://svnbook.red-bean.com/en/1.4/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering

There's a footnote in there about obliterate.

Currently you can do it by dumping the repo, filtering out what you DO NOT
want to be in there, and recreating the repo. However: this will change
revision numbers (so comments in ChangeLogs and logs for merges may no
longer jive...)

** Too your credit, it was not obvious where it was from the index, I had to
load the single file html and search for obliterate ;-)

- Kevin

On Wed, Mar 5, 2008 at 4:22 PM, Javier Alvarado <quijotista_at_yahoo.com>
wrote:

> Is there a way to really "un-checkout" something from svn? I can't figure
> out a way to do it from the docs, and my web searches have been fruitless.
>
> * svn delete <path> deletes the files from my working copy, _but also from
> the repository when I commit_. I don't want to delete them from the repo.
>
> * rm -rf <path> deletes the files from my working copy, _but not their
> information from .svn/_. Therefore, when I subsequently do an svn status,
> they are still listed and flagged as missing. I don't want that either.
>
> What I want is a clean way to tell svn "forget I ever checked these out"
> so that I can clean up my working copy. So, what I'm doing right now is
> either manually hacking .svn/entries myself or moving the old checkout of
> the way and re-checking-out just the stuff I still want.
>
> Am I missing something obvious? Or am I really the only person who's ever
> wanted to do this?
>
> Thanks in advance for any help!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
Received on 2008-03-06 03:46:41 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.