Google search bar

December 09, 2008

Using patches to manage bug change-sets

I have just discovered that you can manage sets of changes in Eclipse by using patches.

In the Package Explorer, select Team | Create Patch...
Follow wizard to export the patch file to the clipboard, the filesystem or the workspace.

You can then Override and Update to return the workspace to a state corresponding to the CVS repository.

Later, you can Apply Patch.. from the Team submenu, select the patch file you previously exported. Voila, your changes are back.

No comments: