How to get accurev to find a relocated workspace?

I created a workspace in AccuRev under M: \ EclipseWorkspaces \.
The project has proven itself.

Then I moved the project to C: \ EclipseWorkspaces \.
Now AccuRev believes that the project does not exist. This is probably because AccuRev is looking for a project on my M drive.

How do I get AccuRev to search for my project?

I am using version 5.3. This computer is slow, so I would like to do it using the CLI.

Update: I deleted the workspace in the AccuRev client .... Can I add a workspace on my C drive to my stream in AccuRev?

+6
source share
2 answers

So, I deleted the workspace in the thread (in the AccuRev client) ... or so I thought. AccuRev does not actually delete the workspace; AccuRev deactivates the workspace.

So first I had to reactivate it (using the CLI):

accurev reactivate wspace foo_workspace 

Then I had to change the location of the workspace in accurev

 C:\EclipseWorkspace>accurev chws -w foo_workspace -l . 

Notes:
-w - the name of your workspace (it must be yours, there cannot be someone else's, there is -s for this)
-l is the location where you want to change the physical location.

+8
source

thischangeYou must reload the workspace from the client GUI, for this, use the "Show hidden" checkbox in the thread browser. Then the cli command that you will use is:

accurev chws -w wspace-name -l C: \ EclipseWorkspaces \

This will assign the location of the workspace since AccuRev knows it in the new right place ...

Update: you will need to close and re-open gui in order to recognize this change ...

+5
source

Source: https://habr.com/ru/post/925722/


All Articles