I am working on a Ruby on Rails project and I have made lot of changes on a particular file.
Now I want to revert changes in some of the lines in that file.
Is it possible to revert those lines one by one in SVN?
I am working on a Ruby on Rails project and I have made lot of changes on a particular file.
Now I want to revert changes in some of the lines in that file.
Is it possible to revert those lines one by one in SVN?
This is not possible by Subversion commands. You need an external diff tool, such as beyond compare or gvimdiff or others. IDEs also have this option. For example Eclipse and IntelliJ for Java, Pycharm for Python have this feature.
I don't what IDE you use for Ruby on Rails, if it's any decent it should have this feature. You could try IntelliJ community edition, it seems to have a plugin for Ruby on Rails. Even without the Ruby on Rails integration, you should be able to open the Compare with Latest Repository Version menu, see the two versions side by side and easily select the changes to keep or undo.