Configuration files – Installation and configuration – Plastic SCM Community
Posted by jpluimers on 2020/06/09
The PlasticSCM GUI does not allow you to edit the paths of Workspaces (you can either rename a workspace or delete edit; no other editing options are available).
Luckily you can do this by hand editing the configuration files in %LocalAppData%\plastic4, though this is largely undocumented
Some of those configuration files are explained in [WayBack] Configuration files – Installation and configuration – Plastic SCM Community, but plastic.workspaces is not, so here are the steps:
- Quit the PlasticSCM GUI
- Backup
%LocalAppData%\plastic4\plastic.workspaces - Open
%LocalAppData%\plastic4\plastic.workspaces - Be sure to leave the
tabdelimiters in place - Be sure to keep lowercase drive letters (despite Windows being uppercase, Plastic insists on lowercase)
- Edit the right middle column (Workspace name) or right column (Workspace directory)
- Start the PlasticSCM GUI
- Verify the changes are correct
- If they are not, restore
%LocalAppData%\plastic4\plastic.workspaces
- If they are not, restore
If you had “Pending changes” or “Queries” (or filters) on the repository, you also have to change these configuration files:
pendingchangescomments.confqueries.confplastic.uisettings.conf
If you had it selected as current workspace, then you also need to change client.conf , especially the CurrentWorkspace element, as it does not contain the workspace name, but the workspace directory.
Note that sometimes this fails, giving you strange behaviour like [WayBack] “WorkspaceInfo cannot be null” message when moving workspace – General – Plastic SCM Community
--jeroen






Leave a comment