The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,087 other followers

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:

  1. Quit the PlasticSCM GUI
  2. Backup  %LocalAppData%\plastic4\plastic.workspaces
  3. Open %LocalAppData%\plastic4\plastic.workspaces
  4. Be sure to leave the tab delimiters in place
  5. Be sure to keep lowercase drive letters (despite Windows being uppercase, Plastic insists on lowercase)
  6. Edit the right middle column (Workspace name) or right column (Workspace directory)
  7. Start the PlasticSCM GUI
  8. Verify the changes are correct
    • If they are not, restore %LocalAppData%\plastic4\plastic.workspaces

If you had “Pending changes” or “Queries” (or filters) on the repository, you also have to change these configuration files:

  • pendingchangescomments.conf
  • queries.conf
  • plastic.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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: