Display Plastic SCM information when in a plastic repository. Also works for subfolders.
For maximum compatibility, make sure your cm executable is up-to-date
(when branch or status information is incorrect for example).
As doing multiple cm calls can slow down the prompt experience, the status is fetched only when your
templates reference one of its fields (.Status, .Behind, .MergePending): fetching is driven entirely
by what you render. The fetch_status option no longer exists and is ignored silently in existing configs.
Name
Type
Default
Description
native_fallback
boolean
false
when set to true and cm.exe is not available when inside a WSL2 shared Windows drive, we will fallback to the native cm executable to fetch data. Not all information can be displayed in this case
status_formats
map[string]string
a key, value map allowing to override how individual status items are displayed. For example, "status_formats": { "Added": "Added: %d" } will display the added count as Added: 1 instead of +1. See the Status section for available overrides
the current selector context (branch/changeset/label)
.Behind
bool
the current workspace is behind and changes are incoming
.Status
Status
changes in the workspace (see below)
.MergePending
bool
if a merge is pending and needs to be committed (known issue: when no file is left after a Change/Delete conflict merge, the MergePending property is not set)