|
|
|
|
|
A branch is used to create a copy of the current project in order to perform modifications, additions, ... on two versions of the same project. For example: creating a branch allows you to prepare a new version of your application while correcting the problems in the deployed version. The main project will be the project corresponding to the new version and the branch project will be the deployed project, in which the bug correction will be performed. Remark: With project portfolios, you can create a branch on a set of projects in a single operation. For more details, see Project portfolio. It is possible to create a Branch: - from the editor in which the project is opened.
- from the SCM administrator.
In this case, it is also possible to create a Branch on a directory that does not contain a project..
To create a branch: - Open your project.
- On the "SCM" tab, in the "Project" group, expand "Branches" and select "Create a branch".
- The branch creation wizard starts. This wizard allows you to create a copy of the project branch, locally on your computer and in the SCM repository.
- Specify a name for the branch. This name can be made up of letters, numbers, etc.. This name is important because it will be used:
- to identify the directories of the projects affected by the version,
- to identify different versions in the project history, etc.
- Go to the next step.
- Specify the name of directory to create for the branch.
By default:
- a new directory is created in the SCM. By default, this directory is composed of "Branches\<Branch name>\<Projects WX>\<Project name>". The SCM project will be duplicated in this directory.
- a new directory is created locally. By default, this directory is created in "MyProjects.Branches\<Branch name>\<Project name>". This directory will contain the local project of the branch.
Remark: The proposed names are the default directory names. To modify these names: - Display the source code manager options: on the "Home" tab, in the "Environment" group, expand "Options" and select "Options of Source Code Manager".
- In the "Branches" tab, specify the default location for the branches. This location itself is based on the default project location specified in the general options of the editor.
- Go to the next step.
- Specify the comment associated with the branch creation and select the options for creating the branch:
- Use my local version as reference for the branch: Used to create the branch from the project version found in SCM (recommended) or from the local version.
- Find and recreate the shares in the branch: Allows you to recreate all the shares between the different projects of the same branch. Remark: this option does not automatically add into the branch the project that have a share. The option re-creates the shares when adding the other projects.
- Open the new project once the branch is created: Allows you to directly open the project corresponding to the branch. A new instance of WINDEV, WEBDEV or WINDEV Mobile will be run.
- Validez. The specified projects are created locally and in the SCM.
Remarks - Sub-branches
You have the ability to create sub-branches (branch created from a branch). The modifications performed in a sub-branch cannot be directly retrieved in the version currently developed. The modifications of the sub-branch must be retrieved in the branch then the modifications of the branch must be retrieved in the version currently developed. - Creating a branch thereafter
You have the ability to create branches on an earlier version of the project by using the history. To create a branch thereafter: - Open the project history.
- Select the desired history version.
- Click "Create a branch".
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|