Place an order from subversion and discard actual local changes in NetBeans

So, I am working on a project hosted on Google Code. Sometimes I use my desktop, sometimes I'm not at home, and I want to work on my laptop. To facilitate development, I use subversion. To talk about my problem, let's say the following scenario: First, I create a project on my laptop and transfer it to Google Code. The next time I work on a desktop computer, and I check the project, and after doing some work, I make my changes. Now I want to update my project on my desktop in order to have the latest version, but the only action available on the right-click menu of my project is "commit".

So how do I do this?

Note. Suppose I also made some changes that I want to reset before updating.

+3
source share
1 answer

I think the team you are looking for is revert.

I use Subclipse, and I just right-clicked on the project, went to "Team" and selected "Revert ..." and deleted the local changes (after confirming that it was deleted).

+1
source

Source: https://habr.com/ru/post/1781057/