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

RE: Is there any way to "un-add" a file or directory?

From: Kevin Williams <kevin_w69_at_hotmail.com>
Date: 2004-03-09 21:53:41 CET

You can do "svn delete <file>", which may require "--force". This will
delete the file from the local filesystem as well as remove the "scheduled
addition". Or, you can do "svn revert <file>". This is likely what you want.

>From: Jeff Bowden <jlb@houseofdistraction.com>
>To: users@subversion.tigris.org
>Subject: Is there any way to "un-add" a file or directory?
>Date: Tue, 09 Mar 2004 12:37:54 -0800
>Quite a few times now I have gone to add a directory of new code to a
>project with "svn add" only to realize that there were some files or
>subdirectories of files which I don't really want to add. What I end up
>doing in this case is moving some portion of the tree out of the way, doing
>an "svn update" and then moving the files I actually want to add back into
>the tree.
>It's kind of a pain. Does anyone have a better way? It would be cool if
>I could just "un-add" some of the files marked to be added, but I can't
>figure out any way to do this.
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org

Get a FREE online computer virus scan from McAfee when you click here.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 21:54:09 2004

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