A solution that creates message for merge.
- Download last release
- Build solution
- Copy the settings.example.ini file near with the built assemblies into the settings.ini file
- Change the settings.ini file for the current needs (more information in the Settings section below)
- Run application
The settings.ini file can contain next settings:
-
Branches Specifies a list of available branches. Each branch must be defined with on line in the settings. It must have next format:
Branch:BranchName,BranchFromat[,BranchAdditional]
Where:
Branch:
- special prefix for the Branch settingBranchName
- a name of the branch in the drop down list in the applicationBranchFromat
- a format for the branch output in the result merge messaageBranchAdditional
- a label for the branch additional (optional, only for branches with inserted text)
Branch configuration examples:
Branch:Develop,Dev
Branch:Release,Release-{0},Release number
The settings can contain many Branch counfigurations.
-
SingleModeMessageFormat Defines a format for the result merge message in a Single mode. It must have next format:
SingleModeMessageFormat:MessageFormat
Where:
SingleModeMessageFormat:
- special prefix for the SingleModeMessageFormat settingMessageFormat
- a format for the result merge message in a Single mode
SingleModeMessageFormat configuration example:
SingleModeMessageFormat:Merged {0} from {1} for {2}
Where:
{0}
- will be replaced by a changeset number{1}
- will be replaced by a branchBranchFromat
{2}
- will be replaced by a changeset commit message
The settings can contain many SingleModeMessageFormat counfigurations but only first wil be used.
-
MultiModeMessageFormat Defines a format for the result merge message in a Multi mode. It must have next format:
MultiModeMessageFormat:MessageFormat
Where:MultiModeMessageFormat:
- special prefix for the MultiModeMessageFormat settingMessageFormat
- a format for the result merge message in a Multi mode
MultiModeMessageFormat configuration example:
MultiModeMessageFormat:Merged {0} from {1} for {2}
Where:
{0}
- will be replaced by a changeset numbers joined with comma{1}
- will be replaced by a branchBranchFromat
{2}
- will be replaced by a changeset task numbers joined with comma
The settings can contain many MultiModeMessageFormat counfigurations but only first wil be used.
-
ChangesetNumberFormat Defines a format for the changeset number in the result merge message for the both modes. It must have next format:
ChangesetNumberFormat:ChangesetNumberFormat
Where:
ChangesetNumberFormat:
- special prefix for the ChangesetNumberFormat settingChangesetNumberFormat
- a format for the changeset number in the result merge message for the both modes
ChangesetNumberFormat configuration example:
ChangesetNumberFormat:#{0}
Where:
{0}
- will be replaced by a changeset number
The settings can contain many ChangesetNumberFormat counfigurations but only first wil be used.
-
ChangesetTaskPrefix Defines a task prefix. It must have next format:
ChangesetTaskPrefix:ChangesetTaskPrefix
Where:
ChangesetTaskPrefix:
- special prefix for the ChangesetTaskPrefix settingChangesetTaskPrefix
- a task prefix
ChangesetTaskPrefix configuration example:
ChangesetTaskPrefix:Task
The settings can contain many ChangesetTaskPrefix counfigurations but only first wil be used.
It is available two modes:
- Single For each input messages pasted in the input text box will be generated separete merge message with a full changeset commit message.
- Multi For all input messages pasted in the input text box will be generated only one merge message with changeset task numbers.
- Open Visual Studio
- Open the Source Control Explorer
- Chose a necessary branch
- Click Merge on the chosen branch
- Chose a target branch
- Copy full line of a changeset (or the few lines of the few changesets) for mergering on the step of selection changesets for mergering
- Run the MergeMessage application
- Paste copied changeset line into the Input Message text box
- From the From Branch drop down chose a branch for which you want mergering
- Chose a necessary Mode
- Click Create
- Get generated merge message in the Result text box