Lines of Development: CVS Branch...


Create a branch (aka fork) for a separate line of development.

  1. To create a branch, select the desired files and/or folders you want to branch and right-click on them. Note: A branch is normally created on an entire folder, usually the top folder of the sandbox.

  2. Select CVS → Branch from the context-menu.

  3. Enter the desired branch name. Note that CVS places some constraints on the branch name; these constraints are shown at the bottom of the dialog. To see which branches are already used in this folder, click the Update list... button.

  4. By default, the Check that the files are unmodified checkbox is enabled. This prevents you from creating the branch if you have uncommitted changes. Under special circumstances, you might want to disable this.

  5. If the branch already exists, CVS will not move it unless you select Move existing branch.

  6. To remove a branch which you created by mistake, or no longer want, select Delete existing branch. You should be very careful when doing this.

  7. Finally, click OK.

  8. Note that your sandbox is not automatically changed so that you are working on the newly created branch. To do this, see Selecting a Branch to Work On.