Find labels
Find labels with the cm find command in Unity Version Control CLI.
阅读时间1 分钟最后更新于 10 个月前
Find and filter labels.
Filtering options
The following list displays the different filtering options () that are available to use with the command:
wherecm find labelattributeattrvaluebranchbranchidchangesetcommentdateguididnameownerrepllogidreplsrcdatereplsrcidreplsrcrepositoryreplsrcserver
Output options
The following list displays the different output options () available to use with the command:
--formatcm find labelbranchbranchidchangesetcommentdateidnameowner
cm find label
examples
cm find labelFind 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