tags:

views:

196

answers:

2

I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I've got about 100 uploaded binary files versioned now, but I haven't committed yet.

What is the easiest way to 'undo' this, without deleting all the documents?

Thanks!

+1  A: 

Try svn revert filename for every file you don't need and haven't yet committed. Or alternatively do svn revert -R folder for the problematic folder and then re-do the operation with correct ignoring configuration.

bobah
+7  A: 

Use svn revert --recursive folder_name

Julien Lebosquain
To expand upon this - `revert` without a revision specified undoes any changes which occurred since the last checkout, including add/delete scheduling changes, for the specified file(s).
Amber