tags:

views:

368

answers:

2

I have checked in a huge Eclipse project from my desktop computer to the SVN server. I did it using the command line. However, by mistake I committed all the compiled classes also in the server.

For every plug-in, there is a directory /bin/ that contains the compiled classes.

Is there a way to quickly delete in the server all directories that match this pattern using the command line?

Additionally, is there a way to tell svn to ignore bin directories by default?

+4  A: 

From here (for the 'additionally part'):

  1. Click on Window -> Preferences
  2. Select Team -> Ignored Resources
  3. Click on Add Pattern and enter "bin"
  4. Click on Apply and then OK

For the bin directories, do you have svn 1.5 ?

Because if you do, 'svn rm --keep-local' allows to pull them from version control but not delete it from your machine.

You can do it with Tortoise (Delete (keep local))

VonC
+2  A: 

To add to what VonC suggests, if you're using the command line, you can edit your configuration file (and change your global-ignores entry) here:

~/.subversion/config

or in the windows registry:

HKCU\Software\Tigris.org\Config
Jason Coco
this would have surely prevented the problem in the first place...
Mario Ortegón