Allow to change the server url of a workspace
Every now and then I need to change the server URL which is associated with a workspace. SVN has the switch and relocate commands for this, git allows to do this by setting the origin of a repository clone. In PlasticSCM I need to delete and re-create the workspace. It would be nice if there was a relocate command for doing this.

Hi Jan,
Yes, it is even possible to make the switch as you proposed, or to use aliases.
In the near future we’ll redo some of the workspace tree storage stuff, cleanly separating the repspecs from the rest of the data, so editing will be much simpler :)
At this point, I’m going to close this request since it has too few votes and it can be solved using aliases, ok?
-
Piotr Mis commented
I think it is even now possible to switch workspace to any repo/any server.
It is not very obvious how to do it (and I personally have problem with it at the beginning).
Try to do as follows:1) Update server IP/name in profile (Options, Profiles, Edit)
2) Activate workspace you want to switch
3) Choose "Repositories" view
4) Right click on repository you want to switch and choose "View branches"
5) New view will open. Right click on any branch and choose "Switch workspace to this branch"PS. I did not test this approach in case of old server is down...
-
-
Yes, not a bad suggestion.
In the meantime, why don't you give a try to serveralias.conf. Look at mine:
C:\Users\pablo\AppData\Local\plastic4>type serveralias.conf
localhost:6060 192.168.221.138:6060
MODOK:6060 192.168.221.138:6060