7.5. General Version Control Commands

ComPact needs to be told explicitly which files are subject to version control, and which are not. Files that are not known to the version control system are usually listed in the directory frames with a grey background. Files that are ignored by default (as certain well-known temporary files) or explicitly by the vc-ignore setting in your compactrc will be displayed with the default background, though.

Figure 7-8. GUI Package Management General Version Control Commands



Adding and removing files from version control . The Add and Remove buttons make a file or directory subject to version control or remove it from the next version of the package. You can use Create & Add to create new files or directories which are subject to version control. Add and Remove operate on the files selected in the directory frame, while Create & Add needs a textual input.

Be aware of the fact that removing a file or directory from version control means only that it won't be included in the following versions. As one of the major goals of configuration management is to guarantee the reproducibility of all former versions of a package, there is no way to completely remove a file or directory.

As with all changes made to your local workspace, you must commit or release them before they are available to other developers.