Examples

This table shows some examples of working with version control.

Examples Description
Example 1

To see a list of all versions of the Cloverleaf translation file adt_translate, select the file and choose Show History. Cloverleaf displays all versions of the selected file.

Example 2

To make a modification to a Cloverleaf translation file, check out the adt_translate XLT to make modifications. When the file is checked out, and a user selects adt_translate and attempts to check it out. that user is notified that the file is checked out. In this situation, the only options are to open it as read-only or quit.

Updates are made to adt_translate and the updates are checked in.

Cloverleaf sources the file and applies a version that can be selected later. The file is now available for check-out by other users.

Example 3

To make a modification to a Cloverleaf translation file, a user 1 checks out adt_translate.

User 1 does not check back in adt_translate and is out of the office. User 2 needs adt_translate to complete the modifications but the file is locked as checked out.

User 3 uses the Server Administration tool to unlock adt_translate. User 2 can now check out adt_translate and complete the changes.

Example 4

To roll back the Cloverleaf translation file adt_translate to an earlier version, select the file and choose Replace With.

Cloverleaf displays all versions of the selected file. You can now select any of the versions to do the replacement.

BOX example 1

User 1 must cut and paste a BOX from the current location to another one in the GUI.

If the BOX is already checked out by User 2, then the paste is not performed. An error message opens to inform User 1 that the selected box is checked out by User 2.

If the BOX is checked out by User 1 or is not checked out, then the paste is performed. The BOX and its versions are moved to the new location.

BOX example 2

User 1 must copy and paste a BOX in the GUI.

The BOX can be pasted to any destination, but the original BOX's version information is not copied to the new BOX. This is regardless of whether the BOX is checked out by User 1 or others.

BOX example 3

User 1 must delete a BOX from the GUI. If the BOX is already checked out by User 2, then the delete is not performed. An error message opens to inform User 1 that the selected BOX is checked out by User 2.

If the BOX is checked out by User 1 or is not checked out, then the delete is performed. The BOX and all version information are removed. If User 1 creates a new BOX of the same name as the deleted BOX, then the version information is empty.

BOX example 4

User 1 must rename a BOX from the GUI. If the BOX is already checked out by User 2, then the rename is not performed. An error message opens to inform User 1 that the selected BOX is checked out by User 2.

If the BOX is checked out by User 1 or is not checked out, then the BOX rename is performed and all version information is preserved.