Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clone a workspace in perforce

Tags:

perforce

How to clone my co-worker's workspace in perforce? I have the name of the workspace to clone from, how can I do it? I have tried doing it via command line with 'p4 client -t coworker_workspace_name', but I get this error 'Client '?coworker_workspace_name' doesn't exit.

Thank you.

like image 383
michael Avatar asked Jun 04 '13 12:06

michael


People also ask

How to create a new workspace in Perforce?

You should see your co-worker's workspace (assuming it's on the same Perforce server you're connected to). Right-click it and select "Create/Update Workspace from '...'" Select the "Create Workspace" radio button to create a new workspace. Show activity on this post. Using linux/bash command line:

How do I use cloning workspaces?

Cloning a workspace allows you to make a duplicate copy of a particular local workspace. Use this functionality when you want to create a workspace structure similar to an existing one. When you duplicate your workspace, don't use the copy and paste function, as each workspace has a unique workspace ID.

How do I create a workspace in p4v?

On the top menu, choose Connection > New Workspace​. In the Streams tab (in the right pane), right-click a stream and select New Workspace​. In the Workspaces tab (in the right pane), right-click and select New Workspace. If P4V is configured to prompt for a new workspace name, the Workspace Name dialog appears. Enter a name and click OK.

How do I create a new workspace?

Right-click it and select "Create/Update Workspace from '...'" Select the "Create Workspace" radio button to create a new workspace. Show activity on this post.


1 Answers

You can do this via the P4V GUI client. I would post a screenshot, but I need at least 10 reputation :'(

  1. Go to the Workspaces tab.
  2. If you don't see it, you can show it via "View -> Workspaces"
  3. Untick the filtering options, such as "Show only workspaces available or use on this computer" (see figure). You should see your co-worker's workspace (assuming it's on the same Perforce server you're connected to).
  4. Right-click it and select "Create/Update Workspace from '...'"
  5. Select the "Create Workspace" radio button to create a new workspace.
like image 101
drej Avatar answered Sep 29 '22 17:09

drej