svn-scm
svn-scm copied to clipboard
Partial commit
Is your feature request related to a problem? Please describe. I sometimes work on a rather big feature and then I find some rather small things in the code. Things that can be fixed and committed within 5 seconds.
Describe the solution you'd like It would be awesome to be able to select a single change or range (text selection) and only commit the changes contained in that range.
Afaik TortoiseSVN support something called "Revert on commit". As far as I understood, a file marked as "Revert on commit" will be revert to the state it was in before it was marked to be reverted on commit. So the solution would be:
- Select code
- Click Partial commit
- Mark as "Revert on Commit"
- Undo all changes besides the selected changes
- Commit
Describe alternatives you've considered The alternative would be to copy your file, remove all undesired changes, commit, move back the old file. However, This can be quite tedious. However, in the end this is a convenience feature.