Questions tagged [p4v]

P4V is the cross platform GUI for the Perforce revision control system.

P4V is the cross platform GUI for the Perforce revision control system. It replaced the now deprecated P4Win GUI, which was only available on Windows.

Useful links

352 questions
1
vote
1 answer

P4V Path '/Applications/...' is not under client's root '/Users/sylwester/test'

I've set up a new workspace in /Users/sylwester/test and checked for get all revisions and switch to workspace. Every time i start p4v and select my workspace after login I get this error. The command it says it has performed is: p4 changes -s…
Sylwester
  • 47,942
  • 4
  • 47
  • 79
1
vote
2 answers

No module named P4API when trying to import P4

I am trying to use Perforce with python. When I did the line: import P4 The error message I got was: Traceback (most recent call last): File "", line 1, in File "C:\Python27\lib\site-packages\P4.py", line 410, in
Dino
  • 23
  • 1
  • 3
1
vote
1 answer

P4D and P4V configuration...Depot and workspace directories

Current p4 is configured as shown in screen capture I attatched. I've set p4d up in our NAS (Synology DS416play) and made repository directory there. I'm trying to use P4V in workstations while NAS does p4d stuff and handle depot. Seems I've set…
Arcana Affinity
  • 307
  • 7
  • 18
1
vote
1 answer

Connecting an Already Opened Project to Perforce

Is there a way to tell P4VS that the currently opened solution corresponds to a given checkout? My problem stems from the fact that I'm using a 3rd party tool to open Visual Studio and attach it to a process. But once it's open I want to be able to…
Jonathan Mee
  • 37,899
  • 23
  • 129
  • 288
1
vote
1 answer

Delete list of folders mentioned in text file using p4 delete command

i have a list.txt file which contains all the unused folders in my depot/work space which i need to remove/delete. From my perforce client i have launched a command line (windows) so i can delete these 300-400 folders quickly. What command should i…
Freak.Newb
  • 11
  • 2
1
vote
1 answer

p4v cannot see the default tree in pending tab

I am new to P4V (perforce) while working with this, i cannot see the default folder in pending tab as i cannt drag any files for editing. Thanks
Sakeer
  • 77
  • 1
  • 1
  • 4
1
vote
1 answer

P4 - How can I submit files from classic workspace to streamed?

I've already done a large integration of several hundred files and have this all ready to go in a pending changelist. The problem is my depot is streamed and my workspace is non-streamed, aka classic. Since our P4 server has both streamed and…
CasualCoder
  • 115
  • 1
  • 9
1
vote
1 answer

automatic selection of workspace when launching p4v

In the shell, when I am in a directory located as part of a p4 workspace, I can run p4 commands in the shell and it knows what workspace I am in. However, when I launch p4v, I have to manually find the workspace that I want to load. Since, the…
mattgately
  • 932
  • 8
  • 22
1
vote
1 answer

Adding description to submit dialog called from p4vc

In my script, which submits some changes to perforce, I would like to add an interactive mode. The workflow should be as follow: the script changes some files which are checked out in the default change list. the script calls p4vc submit, so the…
ead
  • 32,758
  • 6
  • 90
  • 153
1
vote
1 answer

Create a symbolic link for a file in perforce

I have a file in one branch //depot/Dest/file1.txt and other branch is //depot/Src/ I want to have a symbolic link from //depot/Src/file1.txt pointing to //depot/Dest/file1.txt by using p4v . Can I do that using p4v ?
1
vote
0 answers

Perforce - Latin characters in filenames creates issue while getting file history

I have renamed a file (on windows host using p4v client) to CDNÍs.txt (I with acute. Now when i try to read this file using p4v on Mac host. I get the file name as CDN�s.txt and p4v fails to load the history of this file. Similar is the case with…
Chunkyy Garg
  • 107
  • 1
  • 5
1
vote
0 answers

Perforce custom tool to select files in depot view

We have a complicated project structure in our perforce project with assets that could be under source, master, published, published_deviceType etc. directories. All assets under the source directory have a corresponding asset under the other…
Psykojello
  • 49
  • 4
1
vote
2 answers

How to do p4 annotate on single line of code?

I have a big project and I want to find all the users who have used specific keywords in the code (eg. "goto"). Doing p4 annotate on all the files will take a lot of time. Is there a way to quickly do p4 annotate on a single line of a given file?
nav_jan
  • 2,473
  • 4
  • 24
  • 42
1
vote
2 answers

Reverting Perforce workspace

I created my own workspace in p4v. Sometimes bad changelists (CLs) affecting the build and Depot get submitted. So, while working on my workspace after syncing I will encounter these problems with errors. Example: I know up to CL 100 is good but CL…
Ranger
  • 129
  • 2
  • 11
1
vote
1 answer

How to do a "sync" in Perforce P4V client

Suppose I have the following structure, already in Perforce: //path/to/playground/code/ And locally I have: c:\project\path\to\playground\code\ After making some changes in the code folder locally, I decided it's no good, and would like to start…
XoXo
  • 1,560
  • 1
  • 16
  • 35