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, we do not fetch information by default.
You can set the following property to true to enable fetching additional information (and populate the template).
Name
Type
Default
Description
fetch_status
boolean
false
fetch the local changes
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)