After changing the files and making sure that everything is working properly the developer will want to send those changes to the server.
In this recipe we will see how to do this using Mercurial.
For more information on how to get the Mercurial sources and repositories up and running for this recipe, please refer to the Getting Ready section of the Creating a Mercurial Project recipe in this chapter.
To delete a file follow the steps below:
NBCookbookHG.java
and select Delete.To create a file:
Car.java
.String model; String plate; int year; int price; String color;
To commit code:
By clicking on the Commit button NetBeans sends the modifications to the Mercurial server.
NetBeans interfaces with Mercurial on behalf of the user to abstract all the command line work with a simple and intuitive UI.
Need to revert to a certain version?
To revert to an earlier version execute the following steps:
52.14.239.155