Documentation

Support

Unity Version Control

Find labels

Find labels with the cm find command in Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

Find and filter labels.

Filtering options

The following list displays the different filtering options (
where
) that are available to use with the
cm find label
command:
  • attribute
  • attrvalue
  • branch
  • branchid
  • changeset
  • comment
  • date
  • guid
  • id
  • name
  • owner
  • repllogid
  • replsrcdate
  • replsrcid
  • replsrcrepository
  • replsrcserver

Output options

The following list displays the different output options (
--format
) available to use with the
cm find label
command:
  • branch
  • branchid
  • changeset
  • comment
  • date
  • id
  • name
  • owner

cm find label
examples

Find all labels in a specific repository

cm find label --format="{name} {owner} {branch} {branchid}" --nototal on repository 'codice'BL234 dpenalba /main 3BL235 lrodriguez /main 3BL236 jgonzalez /main/task001 4BL237 jgonzalez /main 3BL238 lrodriguez /main/task002 5BL239 lrodriguez /main 3

Find all labels created in a specific branch in a repository

cm find label "where branch = '/main'" --format="{name} {owner}" --nototal on repository 'codice'BL234 dpenalbaBL235 lrodriguezBL237 jgonzalezBL239 lrodriguez

Find a branch with a specific label

cm find label "where name = 'BL237' on repository 'codice'" --nototal191871 17/11/2011 16:38:06 BL237 10503 /main lrodriguez codice

Find changesets created between two labels

cm find label "where name = 'BL237' or name='BL235' on repository 'codice'" --nototal 191869 11/11/2011 14:20:02 BL235 1750 /main lrodriguez codice191871 17/11/2011 16:38:06 BL237 10503 /main lrodriguez codice