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
0
votes
1 answer

Perforce: Get list of changelists before and after a changelist

Lets say i have a change list 1234 I want to see the details of changelists before and after 1234 Is there a command to do that? I am new to P4 and find it not that great compared to git, basically i want to see an equivalent command in p4 for git…
0
votes
1 answer

How to map depot path to a different client path?

Quick question: My Perforce depot path looks like //depot/systems/live/myApp/src I want to map it to my client directory as /myApp/src But I always get the full path as it is in the depot. Is there a way to accomplish what I'm looking for?
CNDyson
  • 1,687
  • 7
  • 28
  • 63
0
votes
2 answers

P4V: Find the most recent changelist that affects a given workspace?

Is there a command-line way to find the most recent changelist that affects a given workspace? This can be done in the GUI by (in the workspaces tab), right-clicking the tip of the workspace tree, then going to "Folder History", and sorting by…
Adam S
  • 8,945
  • 17
  • 67
  • 103
0
votes
0 answers

VisualStudio 2022 (devenv.exe) arguments to merge file in p4v

I had this setup in p4v and it would work Ever since December 2022 it's not working anymore. I checked the docs and there is no mention of the /merge…
Alakanu
  • 325
  • 2
  • 11
0
votes
1 answer

How share and import data between two mainline streams in perforce

I have a mainline stream //depot/stream_mainline_1/... I need to create another mainline stream //depot/stream_mainline_2/... where I need to import(read only) some of the folders and share the some other folders in newly created mainline…
0
votes
1 answer

Is it possible to exclude a depot subdirectory from "get latest revision" on a higher level directory in Perforce/P4V?

Using the P4V Perforce client, we regularly need to get the latest revision of a directory with hundreds of subdirectories of files, but recently a few files have been added which are extremely large compared to all the others. When selecting "get…
Liesmith
  • 160
  • 1
  • 12
0
votes
1 answer

How do I select the common base file manually for P4Merge?

I am trying to merge a file. I have the main branch and another branch B that was branched from main. Both branches have changes. The main branch was merged to B at some point; but the merge on B was undid directly afterwards. After some more…
mchl12
  • 329
  • 2
  • 10
0
votes
0 answers

Perforce client error: Connection refused

So I had been successfully running Perforce on a dedicated Ubuntu 20.04 LTS cloud server for many months. I recently however moved to a different house and now I cannot connect to the server anymore through P4Admin and P4V, and neither can the other…
GC_Vos
  • 1
  • 1
0
votes
1 answer

Git equivalent of multiple Perforce work areas

I've used Perforce for about 10 years, and now having to switch to Git for a new job. Say I have a recent test regression. The way I would go about debugging it in P4 is create two work areas: one sync'ed to an older CL (with passing test), and one…
omouri
  • 15
  • 1
  • 6
0
votes
0 answers

Unity and P4V Error - file(s) not in client view?

I've looked through several other SO posts pertaining to this and have tried the solutions mapped out here Perforce P4W error: file(s) not in client view . I am trying to use P4V with my Unity project and am getting the error file(s) not in client…
blue
  • 7,175
  • 16
  • 81
  • 179
0
votes
1 answer

How can I get the list of changes that user W made between date X and date Y which affected directory Z?

I think the command is p4 changes, but I can't figure out the syntax for what I want. I tried with p4 changes -u myusername @2021/09/08,2022/04/04 /path/to/directory where the date interval and the user name seem to be honored, but the path is not,…
Enlico
  • 23,259
  • 6
  • 48
  • 102
0
votes
0 answers

How to calculate number of lines of code which every programmer added or removed in perforce version control

I want get statistic about how many every developer added and removed lines of code in perforce version control system in all changelist in all time. The result must be like: user added removed evgeny 32152 50021 pavel 14298 1598
0
votes
3 answers

Out of date files must be resolved or reverted. But I have no unresolved files

So I resolved all files. No shown/known conflicts reported but I still can't submit. Also looks like its trying to do a 223 revision but I see no 222 revision in history only 221. What do I need to do to submit? using P4V Client app.
Nonlin
  • 550
  • 1
  • 6
  • 18
0
votes
0 answers

Trying to Migrate P4V data to git using P4Python

Here I am trying to migrate my perforce data. The code is below: from P4 import P4, P4Exception p4 = P4() p4.port = "localhost:1666" p4.user = "xyz" p4.client = "xyz" p4.connect() p4.run("edit", "//Depot/AllFiles/") Here I need add origin, and the…
Ambika Sharma
  • 11
  • 1
  • 1
  • 5
0
votes
1 answer

How do Perforce streams handle subpaths with different access than parent path?

For configuration of streams in Perforce, there exist five access types (according to documentation, in order more-to-less-inclusive): share, isolate, import/import+, exclude. They are placed in the configuration line-by-line, like so: share…
goose_lake
  • 847
  • 2
  • 15