Questions tagged [perforce]
Perforce is a commercial, proprietary, centralized revision control system.
3,252
questions
0
votes
1
answer
9
views
How to synchronize perforce dev stream with mainline removing some changes that been already made in dev
I have 'mainline' stream and some 'dev' stream where I'm working.
I have the following scheme:
create commit some changelists in 'dev'.
create 'merge' changelist into 'mainline', and commit if after ...
0
votes
1
answer
12
views
Perforce does not allow Obliterate files
When attempting to obliterate files I receive the following error:
The filesystem '.p4-extensions' has only 4.9G free, but the server configuration requires at least 5G available.
'.p4-extensions' ...
0
votes
0
answers
18
views
Perforce Globally Locked Items after failed/aborted Submit operation (push)
I am new to Perforce so please help me out. I am working on a folder on the Perforce GUI and I was able to do my work smoothly until this one incident. I had submitted a changelist with the folder ...
0
votes
0
answers
14
views
how to migrate multiple branches using git p4?
We need to migrate multiple branches to git using git p4.
We are able to migrate but it creates only master branch on the bitbucket. But we need to migrate all the branches.
Git fusion is not ...
0
votes
1
answer
37
views
Perforce triggers objecting to syntax (validation failed: sed: -e expression#1 char 16: unterminated `s' command)
I'm currently encountering an issue with p4 where a trigger to change the default text of a change list commit is throwing: 'patchnotes01' validation failed: sed: -e expression#1 char 16: unterminated ...
-1
votes
2
answers
27
views
From old Perforce service , how to check random files using command prompt
Have a old depot in Perforce, without knowing the filename wanted to get output of random files displayed in the command prompt. I used P4 files but it required particular file name to be accessed. ...
-1
votes
1
answer
64
views
How to connect Perforce with Rider IDE
I've set up a local Perforce server to store my Unreal engine project. I like to use Rider as my code editor and I'm having some trouble getting Rider to connect to my Perforce server as it displays ...
0
votes
2
answers
33
views
P4python how do I mark a list of files for add/edit?
I have a TON of files (~260,000) sorted into files with lists of files by type. (binary, binary+Dx, text, text+x, etc...)
EI -
binary:
D:/Workspace/folder1/file.dll
D:/Workspace/folder2/file.res
D:/...
0
votes
1
answer
24
views
How to change Default Description of a NEW CL on Perforce Helix P4V
I searched a lot on the internet but couldn't find the exact thing I was looking for. I am using P4V (not the command line). When I right-click and select the option "New Pending Changelist",...
1
vote
0
answers
43
views
Unable to create a workspace after upgrading Perforce server from 2017 to 2023
I recently upgraded our team's Perforce server from version 2017.1 to 2023.1 Windows. We have a fairly basic server configuration and the upgrade was almost seamless. We've had no issues with existing ...
0
votes
1
answer
32
views
Creating a Perforce form trigger to change default description with multi-lines
I have a Linux based Perforce server that I'm attempting to create a p4 trigger that modifies the changelist description for all users using a template. Single lines are easy, but as soon as I needed ...
0
votes
0
answers
21
views
VS Code perforce extension snyc
Can I select a version when I sync a file from vscode perforce extension? I was wondering if I can select a version when I right click on a file and then click on Perforce>sync. I know how to sync ...
0
votes
0
answers
33
views
Extremely slow Perforce transfer rates
Apologies if this is the wrong place to post, but you guys seem to be a wealth of information. I'm trying to sync a perforce project with a team in NZ and I'm based in the UK and no matter what ...
0
votes
0
answers
108
views
I can't connect to my perforce server remotely; getting WSAETIMEDOUT error
I am trying to setup a perforce server on a remote dedicated server, so that myself and a team can access it for game development.
I have followed the guides here https://help.perforce.com/helix-core/...
-1
votes
1
answer
21
views
How to get complete change history of any function or variable in perforce? (OR) CLs which has changed a function or variable?
I'm interested in one C/C++ function and want to check its complete history of changes made from beginning to current. Other words, I want to see the CLs (ChangeLists) which add, modifies a specific ...
1
vote
2
answers
117
views
Helix Swarm - Review Creation faulty "revision of 1"
I am now using Helix Swarm for quite a while but as up recently an error that some users are affected by started to occur.
When users request the review of a changelist the review is sucessfully ...
0
votes
0
answers
46
views
How to clone files in edit mode through P4 plugin on Jenkins?
P4 plugin (https://plugins.jenkins.io/p4/) on Jenkins through jenkins pipeline script - how to check out files in edit mode? tried allwrite option as true.
Tried below script for checkout.
p4sync ...
0
votes
1
answer
45
views
Perforce P4Python create new stream without vim opening
I am trying to create and populate streams from a parent using P4Python.
using the .run command I can send the terminal command, but I cannot surpress vim opening, which prevents the script from ...
0
votes
0
answers
20
views
How to send changes from a git commit to a non-git user? [duplicate]
I develop a project in Git, but some users copy the source into their own Perforce repository. Often I want to send them a change from some commit, like a bug fix from a newer version of the project. ...
0
votes
1
answer
32
views
Perforce: How to integrate across multiple branches
For a new feature I'm implementing, I'm looking to set up the following branches in a Perforce respository: branch A, which is the main branch, and branch B and C, both branched from A at the same ...
0
votes
1
answer
39
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
1
answer
22
views
Have incremental local perforce scls similar to git for a single file
Consider i have a file called developers.txt
What i want to do is (and i could do it in git neatly)
have 3-4 commits, each adding 1 line per commit
commit 2ad54bfe954006bafcb209f06ac0c12091d297c8 (...
0
votes
1
answer
65
views
How can I recover my local files after a checkout overwrite in Perforce?
My local workspace has been modified.
Before "Submit" I click "CheckOut",lead to my local files be coverer by server.
How to recover my local files?
I am searching for a long time ...
0
votes
2
answers
204
views
Perforce stopped connecting
I ran up a perforce dev servers for couple users for a year and bit with no problems, then they reported it refuses connection to their clients last week. I logged into the server and tried "p4 ...
0
votes
2
answers
40
views
Is it possible to map manual copied files at Perforce?
I'm managing small team project with perforce.
We are now trying to merge our files, which we worked itselves.
But, our data is very large and network is very slow.
So, we want to copy files with HDD ...
0
votes
1
answer
99
views
Perforce Importing folders from separate streams to same folder on workspace
So i have 2 streams:
//Stream_1/Folder_1/-files-
//Stream_2/Folder_2/-files-
I want to have these locations imported into:
//workspace/Folder/-here-
When I do import Folder/... //Stream_1/Folder_1/...
...
0
votes
1
answer
48
views
Is Perforce Stream works same as git branch?
I'm using perforce first time.
I want to make branch which works as git, but when I create task stream, it looks like full copy from server.
Git branch doesn't copy full code, and it works very fast.
...
0
votes
1
answer
43
views
reverting p4 add -- not able to remove files from after doing recursive add with p4 reconcile -a
I have deleted the files from disk and now am not able to remove the files from appearing in default changelist p4 revert -w does not take default changelist. I have tried to edit default changlist ...
0
votes
1
answer
115
views
Jenkins P4_CHANGELIST variable is "now"?
I have a Jenkins pipeline to produce a nightly build. It is configured to use a pipeline script from SCM, in our case Perforce. I would like to use the latest changelist in the pipeline scripts, and ...
0
votes
1
answer
88
views
Bash script not generating the csv file with required content [closed]
I am running below script in linux environment.
#!/bin/bash
export P4PORT="perforceserver:port"
export P4USER="user"
export P4PASSWD=""
# Set the directories to compare
...
0
votes
2
answers
38
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
65
views
How can we give Dynamic path for install App
Project : IOS app
Lang : C#
FW : NUnit Framework
AT : Appium
According to our framework, we are automating ios app using simulator, but we provided .app file path as hardcoded, nee to give Dynamic ...
0
votes
1
answer
24
views
How to copy the file in my workspace to a common build server so that other user can pull from there in perforce
I have a file in my workspace named click.py. I want to copy it to the common build server so that other user can pull it from there. And also it would be helpful if you can tell how to pull it also.
...
0
votes
1
answer
112
views
P4V How Clobber file during sync but only if it has not changed
I work with P4V/Perforce. Due to all of the automatic solutions to checking out files being just awfully slow my workflow looks like this:
I Edit the file I want in visual studio, save it, VS ...
0
votes
1
answer
109
views
Get all Perforce local workspace root directories using p4 command
I want to get a list of all local workspaces available on my machine using the p4 command.
I know about this command that returns the latest workspace client root:
p4 -F %clientRoot% -ztag info
And ...
0
votes
1
answer
179
views
Is there any API or command line to get P4 Swarm Review for a given p4 Change
I am trying to get P4 Swarm review Id from given Change.
can any one help to provide command line or API to get p4 swarm reviews from P4 change.
I tried to check P4 command lines and trying to find ...
0
votes
1
answer
48
views
Perforce Archive Contents
I want to list the directories in a perforce archive on a separate drive /otherdrive/myarchive. I can archive and restore files but p4 dirs //myarchive/depot/* gives the error
//myarchive/depot/*/... -...
0
votes
0
answers
47
views
Merge last n number of commits from perforce repository to git repository
we have migrated our code base from perforce to git. development going on both perforce and git repository. Now I want to merge latest n number of commits from perforce to git repository. How to do it ...
0
votes
1
answer
23
views
List of most recently updated depots in Perforce
Is there a way to filter the most recently updated depots in Perforce server? I want to see only the depots that have updated after March 10th 2023.
0
votes
0
answers
109
views
Perforce submit progress randomly stops when trying to submit Unreal Engine 5 build
When trying to submit 250 000 files of Unreal Engine 5 build progress stops after submitting 2000-15000 files while not getting any errors despite log errors.
Logs look like this:
# 2023/03/26:17:58:...
0
votes
1
answer
33
views
run perforce sync though script after changing directory
I am trying to sync the perforce code using automation script.
I have a directory where /opengrok/src/<project_name> where .p4config is there.
But when I run below code it fail because it takes ...
0
votes
0
answers
34
views
Perforce authorization when running GitLab CI job
I'm running a simple CI job that is suppose to upload a ZIP archive to Perforce depot. I'm struggling with authorization of a dedicated user. I'm running the job on Windows (in PowerShell), here's my ...
1
vote
2
answers
749
views
Cannot start code review on Helix Swarm using P4V
When I request a swarm review through P4V on my machine I get the message "Review could not be created. Unauthorized".
Then when I try to update a swarm review it says Review ID not found.
...
0
votes
1
answer
145
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 ...
0
votes
1
answer
54
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 ...
-1
votes
1
answer
777
views
Unreal Engine 5 & Perforce : not detecting changes in blueprint
I am new to UE5 and Perforce so sorry if this question may seem simple but I am a bit lost. I installed Perforce Helix depot and client on the same computer (I am the only person working on the ...
0
votes
0
answers
40
views
How do I exclude a pattern and then include back a pattern with Perforce Streams?
I have a large depot with large binaries spread throughout in many subdirectories, but following a pattern. Some are only used in some workflows, and some are not used at all. The contents and layout ...
0
votes
1
answer
91
views
different between p4 sync ...#123456 and p4 sync ... #123456
Dear,
I found I made a mistake recently by using p4 sync command, where I put extra space between "..." and @123456.
It supposed to be "p4 sync ...@123456", but I used "p4 ...
0
votes
0
answers
45
views
Perforce command to get a list of shelves
How do I get a list of more than 200 shelves in perforce?
Following command is listing only 200 shelves.
p4 changes -u <username> -s shelved
I tried adding -m 500 without any change in outcome. ...
0
votes
0
answers
27
views
git p4 branches not exported
I'm trying to migrate some p4 depots to github using git-p4.py script but I have trouble in exporting branches.
p4 structure is like this:
//depot1/first_directory/second_directory/projects_directory [...