Local Changesets

Local Changesets

As you checkout/add/delete files in the workspace these will be added to the default local changeset. The number of files being changed will be displayed next to the local changeset. Expanding a local changeset will reveal the files associated with the local changeset. Selecting a file will display the file differences if it is an edit or the file contents if it is a file add.

Select the 'Properties' menu on a local changeset to open the Changeset dialog as described in the section called “Changeset Dialog”. Within the changeset dialog you can enter the description for your changes and save it.

Sometimes you may want to work on two different changes within the same workspace. To do this effectively you need to group the files relating to one change separately from the files relating to another change. This is achieved by creating local changesets.

Note

Because the two changes might involve changes to the same file, it is recommended that two simultaneous big changes are performed in separate workspaces. You can create multiple workspaces of the same stream as described in the section called “Create the Workspace”.

You can create multiple changes by right clicking the 'Local Changesets' folder and selecting the 'New' menu.

Figure 3.7. New Local Changeset

New Local Changeset

Enter the description in the edit box provided. Each lower tab corresponds to a local changeset. Check the files you want to include in the new changeset. By default all changes in the default changeset will be included. Press <OK> to confirm.

Adding, editing or deleting new file will result in the file being placed in the default local changeset. You can set the local default changeset by right-clicking the local changeset and selecting 'Set As Default'. You can move changes between local changesets by right clicking the local changeset and selecting 'Add Change Items'.

Figure 3.8. Add Change Items to Local Changeset

Add Change Items to Local Changeset

Each tab corresponds to a local changeset. Check the files you want to include in the local changeset. By default all changes in the default changeset will be included. Press <OK> to confirm.

Local changesets are submitted with the 'Submit' menu as described in the section called “Submitting a Changeset to the Server”.