Jump to content
pg.preeth

Find workspace path in Command Line

Recommended Posts

Hi,

 

Is there a way to find the repository path in the command line?

 

For example, if my repository is in D:\repo can I find the path from c: drive?

 

Regards,

 

Preeth

Share this post


Link to post
Share on other sites

I'm sorry, repository or workspace path?

 

Remember, the repository is the database where everything is stored, branches, revisions, labels metadata....

The workspace is the source code working copy, where you code, compile etc.

 

In order to get the workspace list -> cm lwk

In order to see the repository targeted by the workspaces -> cm wi [workspace_path]

 

If you want to know where the repositories are located you need to go to the server (if you are using a local server then go to your PC :)... ) and check the file called "C:\Program Files\PlasticSCM5\server\db.conf", inside the file you'll find an XML tag called "<DatabasePath>", if it's empty the default location is the Plastic SCM server directory.

Share this post


Link to post
Share on other sites

I'm sorry, repository or workspace path?

 

Remember, the repository is the database where everything is stored, branches, revisions, labels metadata....

The workspace is the source code working copy, where you code, compile etc.

 

In order to get the workspace list -> cm lwk

In order to see the repository targeted by the workspaces -> cm wi [workspace_path]

 

If you want to know where the repositories are located you need to go to the server (if you are using a local server then go to your PC :)... ) and check the file called "C:\Program Files\PlasticSCM5\server\db.conf", inside the file you'll find an XML tag called "<DatabasePath>", if it's empty the default location is the Plastic SCM server directory.

Awesome. Thanks manu. What I meant was workspace :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...