All Questions
Tagged with version-control perforce
314
questions
0
votes
2
answers
200
views
P4 change ownership through command line
I have a specific use case where I need to create a button (Custom Tools) within Perforce in which it enables the user to right-click a pending changelist with checked out files and it will shelve the ...
0
votes
1
answer
242
views
How do I fix the Helix Swarm config so it pings the correct hostname
I have gotten Helix Core and Helix Swarm installed as a server extension on my server. When I initially configured it I set the hostname to swarmhostname because I didn't have a DNS record set up.
...
0
votes
1
answer
143
views
Perforce error - Path '/Users/aa/Documents' is not under client's root '/Users/aa/Documents/perforce/p4_project'
I've come across many posts online, but it seems that this issue is a bit different or perhaps I'm unable to find another article that addresses the problem.
I'm encountering the error Path '/Users/aa/...
0
votes
1
answer
83
views
How do I rename a file in Perforce, then add another file with the old name of the first file?
Let's say that I have a file A.txt. I want to rename it to B.txt. I execute
p4 add A.txt
p4 rename A.txt B.txt
I would now like to add a new file A.txt in the same changelist.
When I execute
p4 add A....
0
votes
1
answer
233
views
perforce add file report wildcards (*, %%x, ...) not allowed in '<path>'
I am using perforce to add files but report:perforce add file report wildcards (*, %%x, ...) not allowed in '<path>'
I've tried using -n -f but still doesn't work:
$ p4 add -f -n //space-web/...
0
votes
2
answers
139
views
P4ignore ignore changes, but allow adds and deletes
I have bumped into an extreme edge case. I need to have an Ableton project in our perforce, and Ableton does not have any kind of source control integration.
For the project to function correctly, we ...
0
votes
1
answer
312
views
Is it possible to map a Perforce depot subpath to the workspace root folder?
In a depot with a folder structure like:
depot
subFolder1
subSubFolder1
subSubFolder2
subfolder2
Is it possible to map just //depot/subFolder1/... to the workspace root on the ...
1
vote
1
answer
165
views
Are there any drawbacks to running Perforce server in case-insensitive mode on Linux?
In the process migrating a Perforce server from a Windows server to a Linux one, the migration guide lists a lot of meticulous steps for converting the depot's case sensitivity, using the p4migrate ...
0
votes
1
answer
226
views
Perforce get latest change CL# [duplicate]
In my perforce workspace, I run these 3 commands:
# 1
p4 changes -m1 ./...
Change 11111111 on 2020/01/01 by abc@def 'Jan 1'
#2
p4 changes -m1
Change 11112222 on 2020/02/01 by abc@def 'Feb 1'
#3
p4 ...
0
votes
1
answer
207
views
Does P4 preserve file history of a copied/integrated file whose integration source is deleted?
For example, there is a file in my Perforce depot at //my_depot/my_stream/my_folder/file.txt, which has a long revision history. Due to a refactor, the file is then copied (integrated) to //my_depot/...
0
votes
1
answer
584
views
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 ...
0
votes
0
answers
24
views
Is it possible to connect to old p4 depots after a system format?
I am running a local p4 server for personal usage, and I had to re-install windows on my machine recently which erased all my data. Now I tried to re-install perforce in the same machine after the ...
-1
votes
1
answer
841
views
How to run p4 console command if I use p4v client
I installed Client p4v from oficial site. I can use only Gui. But I can not use p4 console application. How can I run p4 from console?
0
votes
0
answers
226
views
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
...
0
votes
1
answer
478
views
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 ...