BRANCH SHOWMERGES
Description
Shows branches pending to be merged.
Usage
cm branch | br showmerges <item_path>[ ...] [--format=<format_str>] [--dateformat=<date_format>]
Options
Option / Argument | Description |
---|---|
--format | Retrieves the output message in a specific format. See Remarks for more info. |
--dateformat | Format used to output dates. |
Help
Remarks
Output format parameters (--format option): This command accepts a format string to show the output. The output parameters of this command are the following:
Option / Argument | Description |
---|---|
{id} | Branch id. |
{comment} | Comment. |
{date} | Date. |
{name} | Name. |
{owner} | Owner. |
{parent} | Parent branch name. |
{parentid} | Parent branch id. |
{repid} | Repository id. |
{repository} | Repository. |
{repname} | Repository name. |
{repserver} | Repository server. |
Examples
cm branch showmerges file.txt
(Displays branches involved in the pending merge of 'file.txt'.)
cm branch showmerges file.txt --format="{date} {name}" --dateformat="ddMMyy"
(Displays branches involved in the merge, printing only the date and the name, with a given date format.)