Home

 

Working with patches

RAD v7.5 enables developers to share work, even when they only have read access to a CVS repository. In this circumstance the developer that does not have full access to the repository can create a patch and forward it to another developer with write access, and the patch can be applied to the project and the changes committed.

Such a configuration is useful when access to the source code repository has to be restricted to a small number of users to prevent uncoordinated changes corrupting the quality of the code. Any number of users can then contribute changes and fixes to the repository using patches, but only through designated code minders who can commit the work and who have the opportunity to review changes before applying them to the repository.

This is done through the Team Æ Create Patch and Team Æ Apply patch options available from a project context menu. A patch can contain a single file, a project or any other combination of resources on the workspace. The Application Developer online help has a complete description of how to work with CVS patches.

ibm.com/redbooks