Eclipse Subversion: Exclude Directories
Asked Answered
F

1

6

I'm on windows, running Eclipse Indigo with Subersive for connecting to a REMOTE svn repo.

I have a project checked out into a local folder. There are some directories in the project that I want to exclude from the check-in check-out process.

How can I do this? (I do not have SVN installed on windows, and WILL NOT install it separately due to various reasons.)

Faceoff answered 24/2, 2012 at 11:51 Comment(0)
A
8

Set the svn:ignore property to the list of files/directories that you want to ignore on the directory that contains them.

The easiest way to do it seems to be through the "Team" context menu: http://www.eclipse.org/subversive/documentation/teamSupport/SVNaction/ignore_vc.php

Anderton answered 24/2, 2012 at 11:56 Comment(2)
Thanks you for the rare 'advice and bloat free, non-philosophical' answer. I'd just like to add that the option in the team context menu 'Add to svn:ignore' will remain disabled for items already checked in. So to exclude an already checked-in directory from future svn check-in check-outs, first delete it in eclipse, then commit to svn (which will delete it from svn current stte as well), and then add it back in eclipse (copy into project), and now the Add to svn:ignore option in the team context menu will be available.Faceoff
This helped, although wondering how can we check on which items have been added to SVN:ignore? ThanksWingspan

© 2022 - 2024 — McMap. All rights reserved.