views:

550

answers:

3

In IntelliJ, I can have different change lists so that I can put certain files that I never want to commit into a different change list, and I won't be prompted to commit those files unless I select that change list. For example, certain database configuration files, eclipse project files etc., I want to rarely or never commit.

Is there a way to do this using Subversion in Eclipse? I haven't been able to find it so I have to uncheck the files I don't want to commit every time. Note that I can't use svn:ignore because these files are, and should be, in the repository.

+1  A: 

While the notion of change set of change list is not directly supported by subversion, one possibility would be to use SVN in conjunction with Mylyn.

You could set each group of files to a different task and see if subclipse allows you to commit only one or several tasks through Mylyn.
I have not tested that configuration directly, but it is worth a try.

An option like (see Mylyn Wiki):

Automatically create and manage with task context - Enables automatic change set management. Change sets will be created automatically so that you can commit or update only resources that are in a task's context.

sounds promising.

VonC
+3  A: 

You can do this in the Synchronize view. Click the Show Change Sets button. You can then add changed files to change sets (and create new change sets) from the right-click menu.

Bjorn
A: 

How about putting those files on svn:ignore list? (set the files to exclude as values of
svn:ignore property) They will be just excluded from versioning so that they never get
commited and any changes to these files will be ignored by subversion.

nomuna