Deleting Files From the Configuring Tool Workspaces |
![]() |
Take for instance, the following example. The file "C" is removed from the child workspace using the rm command.
Later, the bringover update transaction is used to update the child. Configuring examines the two workspaces and determines that the file "C" exists in the parent and not in the child -- following the usual Configuring rules, it creates "C" in the child.
The recommended method for "deleting" files in workspaces is to rename them out of the way using a convention agreed upon by everyone working on the project. Two possible methods are described below.
example% mv proj_ws/src/gui/module.c proj_ws/Deleted_Files/module.c.06.24.93 example% mv proj_ws/src/gui/SCCS/s.module.c proj_ws/Deleted_Files/SCCS/s.module.c.06.24.93 |
Note - Remember to move both the SCCS history files and the g-files.
example% mv module.c .del-module.c example% mv SCCS/s.module.c SCCS/s..del-module.c |