5.Editing the Work Unit

Now that the work unit is ready, we can start editing it.


(1) Lock the work unit

Prior to the editing, lock the work unit.
Once locked, you have exclusive rights to edit a work unit.
(Even if another worker edits the same work unit and wants to commit it, it will be rejected.)

Right-click on the work unit [WorkUnit_1] and the material information file [WorkUnit_1_MaterialInfo], and select [Checkout] from the [Version Control] submenu.
After selecting checkout, select [Lock] from the [Version Control] submenu.

craftv2_vcs_tutorial_p4_wrku_ctxmenu_co_lock.png


The "locked" icon is overlaid on locked files.

craftv2_vcs_tutorial_p4_wrku_locked.png
Locked WorkUnit_1


You can also check if a file is locked in the version control browser.

craftv2_vcs_tutorial_p4_fm_locked.png
Checking the Version Control Status in the Version Control Browser


(2) Change the CueSheet

Since it is locked, you can now start editing the work unit.

(2-1) Create a Cue

When creating the work unit [WorkUnit_1], the CueSheet [CueSheet_0] was automatically generated.
Drop a material file on this CueSheet to create a new Cue.
In our case, we create a Cue from the waveform files "adx1.wav" and "adx2.wav".
When we drop the waveform files onto the CueSheet, the materials status is automatically switched to "add" for the version control system.

(2-2) Save the work unit

Save the work unit before submitting the modifications. Press [Cmd + S] (Windows: Ctrl + S) to save "WorkUnit_1".

(3) Submit the changes

Open the version control browser from the [File] menu - [Version Control] - [Browser] and click on the [Submit All Changes] button.
As the submit dialog is displayed, enter a comment and press the OK button.

craftv2_vcs_tutorial_p4_wrku_submit_dlg2.png
[Submit Changes] dialog


Changes to the work unit [WorkUnit_1] are submitted to the repository.
When a submit is performed, the files are automatically unlocked.

craftv2_vcs_tutorial_p4_projtree_submitted2.png
Project tree after submitting WorkUnit_1
Note
If these files were modified before submitting them, there will be a conflict.
When editing files, it is recommended to first lock the target files so that access is exclusive and there cannot be any conflicts.