Freezing and unfreezing branches

Freezing a branch prevents users from making any changes to files in the branch. When a branch is frozen, any command that can affect the code, such as adding a file or creating a repository, is disabled. Actions that do not affect the code, such as getting a file or merging to local files, are enabled.

You may want to freeze a branch for administrative or maintenance purposes. For example, you need to build a release for multiple platforms. Freeze the corresponding branches to ensure the files cannot be changed during the build process. When you finish, unfreeze the branches.

1. Select the branch to freeze or unfreeze.

2. Choose Tools > Administration > Branch Maintenance.

The Branch Maintenance dialog box opens.

You can also choose Branch > Branch Attributes > Frozen to freeze a branch.

3. Click Toggle Frozen.

If the selected branch is unfrozen, you are prompted to confirm freezing it.