The K Desktop Environment

1.4. The main screen

When you start Cervisia, and open a working copy by choosing File->Open Sandbox... you see a hierarchical view of the current directory. According to the settings in your .cvsignore files, the files you usually do not want to include into the repository - like e.g. object files - are not shown. For each file, you see its corresponding status. In the default setting, this is "Unknown" because Cervisia delays the fetching of information until you choose Update or Status from the File menu. With this approach, you have a minimal amount of functionality available even if you do not have a permanent connection to the CVS server.


Figure 1-3. A screenshot of Cervisia's main view


The commands in the File menu usually act only on the files which you have marked. You may also mark directories. Now choose Update from the File menu. Cervisia issues a

 cvs update -n filenames

command to get status information for the marked files. Note that Cervisia goes recursively into subdirectories. only if you have the according option in the Options menu set. According to the respective file's status, you now see an entry in the Status column:

Now that you have got an overview of the current status of the CVS, you may want to do an update. Mark some files (or the root of the directory tree which is equivalent to marking all files in this directory). Now choose Update from the File menu. (Of course, you could have chosen this at the beginning of the session). For some of the files the status may change now. Typically, files which had "Needs Patch" or "Needs Update" are updated. So the following new items are possible in the status column:

You may have noticed that according to the status of the file, its row has a different color. The colors are chosen to somehow reflect the priority of the status. For example, a file with a conflict is marked red to show you that you have to resolve a conflict before you can continue working with the file. If your directory contains a high number of files, you may nevertheless lose the overview. To get more concise information about which files have an unusual status, simply click on the header of the Status column. The file list is then sorted by priority, so you have all important information at the top of the list. To get back to the alphabetically sorted view, click on the header of the File name column.