PlasticSCM

Wrapper around the Plastic SCM (Unity Version Control) API, providing typed access to repositories, workspaces, branches, changesets, xlinks, and symlinks. This subsystem is the data layer that the ModuleManager builds upon.

Architecture

spinner

Discovery Flow

spinner

Classes

Class
Description

Static entry point — discovers all repositories and workspaces from the Paragon@cloud server

Wraps a Plastic SCM repository — workspace management, branch/changeset operations

Wraps a Plastic SCM workspace — source control operations, xlink/symlink management

Key Concepts

Server Address

All repositories are discovered from the Paragon@cloud server (hardcoded). The plastic-global-config repository is explicitly ignored.

Workspace Path Convention

New workspaces are created under the Paragon workspace folder: ParagonPaths.Workspace.Combine(workspaceName).

Command Execution

Some operations (xlink creation/modification, symlink creation) use direct cm CLI commands via CmdRunner.ExecuteCommandWithResult. On macOS/Unix, the cm binary path is resolved to /usr/local/bin/cm.

Last updated