Documentation

Support

Unity Version Control

Find replication logs

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

Find and filter replication operations.

Filtering options

The following list displays the different filtering options (
where
) that are available to use with the
cm find replicationlog
command:
  • branch
  • date
  • id
  • owner
  • package
  • repositoryname
  • server

Output options

The following list displays the different output options (
--format
) available to use with the
cm find replicationlog
command:
  • date
  • id
  • owner
  • package
  • server

cm find replication
log example

Find all the replication operations for a specific branch from any time chronologically:
cm find replicationlog "where branch = '/semanticmain'" --nototal424089 03/06/2013 12:16:42 codice@diana:9095 F pablo426718 17/06/2013 18:46:38 codice@diana:9095 F pablo427606 17/06/2013 18:50:47 codice@diana:9095 F pablo
If, for example, you want the last date, filter by date and use PowerShell or bash to select the last row.

PowerShell

cm find replicationlog "where branch = '/semanticmain'" --format="{date}" --nototal | select -Last 1

Bash

cm find replicationlog "where branch = '/semanticmain'" --format="{date}" --nototal | tail -n 1

Result

17/06/2013 18:50:47