On Mar 5, 2008, at 9:46 PM, Kevin Grover wrote:
> 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
>
Unless I'm mistaken, I don't think that is what Javier was asking.
Javier - I'm guessing that you have used something like CVS before?
Unlike CVS, Subversion doesn't really support the notion of single-
file checkouts. In other words, you can't just checkout some of the
files in a directory and not others. Subversion 1.5 will support
something called sparse directories which at least allows you to skip
checkout all the way down your directory hierarchy. Anyhow, since
you can't just checkout individual files, you also can't really
"clean up" as you are attempting to do.
I think the subversion book covers this, but I wouldn't be able to
tell you where.
-Steve
> 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 04:43:59 CET