Add a new folder to the vault in the P4V client

I want to create a private branch folder in the repository using the perforce visual client. Can someone tell me how to do this? I looked at Google, but for the P4V user, such a little help.

Repeating the question:

I created a local directory: c:/depot/abc/myfile.txt . My p4v maps to central repository as //depot... c:/depot/...

How to send abc/myfile.txt to the repository?

+4
perforce perforce-integrate
source share
3 answers

After reading your question, do you seem to have no files in your depot yet? If so, you just need to add files to your depot, not integrate. Here's how to do it:

  • In the dialog box of the editing workspace, set the root to c: / depot
  • Then change the display of the workspace to //depot/... //<workspace-name>/... , leaving the slash as it is in your question can cause problems.
  • In the P4V workspace view, find the file that you want to add to the repository.
  • Right-click this file and select "Mark to add ...", which will add it to the pending list of changes.
  • Repeat step 3 for all the files you want to add (you can also select files multiple times and then add them to add).
  • Once you have everything that is marked to be added to the pending list of changes, right-click this list of changes and select "Submit" to transfer the files to the repository.
+5
source share

Right-click on the branch from which you want to switch and select "Integrate" (if in 2011 you select "Merge / Integration"). Then in the window that appears, enter the target.

Please note that to create a branch in a new location, you must provide permission to submit. So

// depot1 / main / ... // depot 2 / sandbox / ...

If you send permissions to // depot 1, but not to // depot 2, you cannot separate from // depot 1 to // depot2, but you can deduce from // depot 1 / main / ... to // depot1 / sandbox / ... as long as you have permissions for all // depot1

+2
source share

If you are just starting out with P4V, consider spending some time on this: http://www.perforce.com/perforce/doc.current/manuals/p4v-gs/index.html and this: http: // www.perforce.com/perforce/doc.current/manuals/intro/index.html

There are many more documents on the Perforce site, but this is a good place to start.

+2
source share

All Articles