## Importing a zip over a shared project

Since: 3.0 M6
Last Modified: $Date: 2007/05/23 13:19:14 $

This scenario captures one means of patching. It assumes that a zip file contains a previous version of a project that has been modified in some way and added to a zip archive (without CVS directories).

Perform the following steps:

1. Load the project from CVS (using Checkout or some other means).
2. Import the zip over the loaded project.
3. Ensure that the sync states are Outgoing for all resources from the zip file.
4. Ensure that all folders from the zip file (except new ones) are marked as in-sync and all files (except new ones) are outgoing changes.
5. Changing the comparison criteria to compare contents should not contact the server and should leave only the resources that differ in the sync view. Perform a Mark As Merged and a Commit on these resources.
6. Changing the comparison criteria back to revision number will reveal all the files whose content did not change, perform a Mark as merged on these resources followed by a Team>Update on the project in the Navigator (Note: This could be handled better).
7. After the update, ensure the project has no out-of-sync resources.