Find branches
Find and filter branches.
Filtering options
The following list displays the different filtering options (where
) that are available to use with the cm find branch
command:
attribute
attrvalue
changesets
comment
date
guid
id
item
name
owner
parent
repllogid
replsrcdate
replsrcid
replsrcrepository
replsrcserver
Output options
The following list displays the different output options (--format
) available to use with the cm find branch
command:
comment
date
id
name
owner
parent
cm find branches
example
The following example filters branches by the following requirements:
- The owner is
name
. - The branch was created after
2013/03/01
.
The example also formats the results to show the name of the branch and the creation date, with consistent 30 character spacing.
cm find branches "where owner='name' and date >= '2013/03/01'" --format="{name,-30} {date}"
/main/scm12636/scm12666 22/04/2013 16:32:31
/main/scm12313 29/05/2013 17:36:04
Total: 2