WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I messed it up and I don't know how to fix it. I thought it would be easier if I just literally delete all the files and start over again. Is there a way to do it? I tried some tips in google to no avail. Neither 'svn cleanup' nor 'svn delete' works. :-(

share|improve this question
Did you already commit files to the repository? If not, you can just check out the empty directory again in another location and work from there. If you don't know, tell us the name of your plugin and we can check the repository too. – Jan Fabry Feb 22 '11 at 8:23
It's paypal subscription button. Yah I did commit it already. I am new to using VCS so I am not really sure what's happening. The trunk misses some important directories if I view it from the browser yet they are all present if I download it from the download page. The working files are in tags/1.0.2. Thanks! – Joann Feb 22 '11 at 8:43
Whats your plugin svn url, and sometimes it takes up to 15 minutes to upadte as wordpress plugin svn updates every 15 minutes – Bainternet Feb 22 '11 at 13:41
@בניית אתרים: plugins.trac.wordpress.org/browser/paypal-subscription-button – Jan Fabry Feb 22 '11 at 14:17
Looks like it's not possible huh?.. – Joann Feb 23 '11 at 6:06
up vote 1 down vote accepted

In the root directory of your SVN checkout directory, try this:

svn revert -R 
svn update

That usually will restore it to the main state.

share|improve this answer
Hi thanks! What do you mean main state? I want it to fresh like when I first check it out, is that you mean? – Joann Feb 23 '11 at 9:39
No, that's not what I mean. That will revert any changes you've made to your working copy. If you've actually checked in some changes, then that's that. They're checked in. You'll have to manually rollback to a previous version and then check it in again to remove them. This is a version management system; the whole point is for it to not lose changes... Once you check in, there is no going back except manually. – Otto Feb 23 '11 at 19:21
Thanks! reverting it somehow fixes the problem. I can now svn arg without a hitch! :-) – Joann Feb 24 '11 at 9:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.