Another user making changes

Now that Fred has the project in his Workbench he needs to modify several of the files and synchronize with the the repository in order to commit them.

Fred should proceed as follows:

1.

Modify file1.txt as follows

Original Contents:

This is the contents
of file 1.

New Contents (changes shown in bold)

This is the contents
Fred-update 
of file 1.

2.

Modify file2.txt as follows

Original Contents:

File2 is a small file
with simple text.

New Contents (changes shown in bold)

File2 is a (Fred was here) small file
with simple text. 

 

3.

Open the preferences (Window > Preferences) and turn on the CVS label decorations (on page Workbench > Label Decorations check off CVS).

Navigator View

Observe that the Navigator updates to show the CVS state of a resource. Notice that the two files which Fred has changed are preceded by ">".

Navigator View 

4. To commit his changes to the repository Fred can either:
  • select the two files and choose Team > Synchronize with Repository or,
  • select the project and choose Team > Synchronize with Repository

Often choosing the project is the easiest thing to do. Let's do just that. Select the project and choose Team > Synchronize with Repository from its context menu. 

5. When the Synchronize view opens Fred should commit his changes to file1.txt and file2.txt.

Next topic Making our own changes 

Back to previous topic Checking out a project

 
Copyright IBM Corporation 2000, 2002. All Rights Reserved.