Eclipse Subversive commit changelist?

2020-07-10 11:35发布

问题:

I just created an ignore-on-commit changelist as described in SVN: Is there a way to mark a file as "do not commit"? and it's awesome on the command line, making it much easier to view the changes I care about in the command line.

Having all this power and organization now I select all my projects in eclipse and go to Team > Commit and there is no notion of changelists in the commit dialog and I still have to go through all the changes and tediously select which files to commit.

Am I missing something in Eclipse' Subversive that would allow me to use changelists in the commit dialog?

I found the following setting, but it doesn't seem to change anything...

回答1:

I see two possibilities here:

1. Using svn:ignore

The easiest solution would be to add the files you don't want to commit to your svn:ignore list.

You can do it in Subversive through the Team>Add to svn:ignore... menu:

2. Using change sets

The alternative is to :

  • go 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.

You can find more information in the Subversive documentation.