All Questions
48
questions
0
votes
1
answer
31
views
Configure P4V default workspace creation root
I have some directory where I want all my Perforce workspaces to be located at.
When creating workspace in Perforce P4V, it suggesting some root directory and I need each time to set it to the ...
0
votes
2
answers
58
views
How do you add an AltRoot for Windows using `p4 client` non-interactively?
I am trying to add an Windows AltRoot to my p4 client automatically in command line without needing to edit the client form interactively. I am doing this from a Linux machine. Below is the command I ...
0
votes
1
answer
574
views
how to set up p4 view to avoid file(s) not on client issue
I try to run p4 on windows' powershell, and here is my problem.
p4 client
...
Host: my_machine
Root: C:\mywork\
...
View: //gmag/a/b/c/... //my_machine/gmag/a/b/c/...
...
Now I want to edit a file ...
0
votes
0
answers
96
views
Why does java delete my files that were created by the Jenkins P4 plugin? [duplicate]
Trying to raise a discussion on this issue: https://stackoverflow.com/questions/69072026/how-to-stop-spontaneous-deletion-of-files-and-workspaces-created-through-jenkins?noredirect=1#...
3
votes
1
answer
847
views
Perforce: Cross-Migration from Windows to Linux fails to replay checkpoint
I am attempting to migrate my personal Perforce Server from Windows to Linux (Ubuntu 20.04), but am having trouble replaying the checkpoint file from the Windows Server on the Linux Server.
I want to ...
0
votes
1
answer
1k
views
Is there a way to remove files from the default changelist in Perforce?
I am using P4V to manage my files. I am also a recent user so I might not understand all the concepts well.
Sometimes I add some changed files to the default list then I change mymind and want to add ...
1
vote
1
answer
650
views
How to remove folders fully with Perforce P4V client after renaming folders?
I use P4V to manage my Perforce files. One issue that is very confusing is that when I rename folders in P4V using Rename/Move, Perforce keeps the older version of the folder but with empty state. ...
3
votes
1
answer
4k
views
Perforce (P4V) not opening after deleting workspace folder
I deleted a folder by accident and now P4V doesn't open, I can see it in my task manager and it sucks up a ton of resources but nothing happens. Force-quitting and restarting doesn't help.
Any idea ...
0
votes
1
answer
948
views
How can I detect that a p4 sync leads to a conflict?
I am working on a batch process to update the client workspace and it might happen that this leads to a conflict due to opened files in the client workspace:
D:\perforce\project>p4 sync D:\...
0
votes
1
answer
77
views
Checkout linux project to workspace on Windows
I am using Perforce as a version control system. When I create a new project in Windows and say Get Latest from the Depot a project which was written on Linux and has Linux line endings seems to have ...
0
votes
1
answer
204
views
Jenkins as Windows Service - Running Windows batch command <some program> is not recognized
So I have this Jenkins as windows service setup on my local machine.
I have made Jenkins service to run as my user not SYSTEM following advice from this post:
enter link description here
I have added ...
1
vote
0
answers
617
views
How to Clone Repository from Perforce to Git?
I'm trying to import repository from Perforce to Git. I Installed Git Bash for windows and executed the following commands.
p4 login
export P4PORT="tcp:Servername:1111"
p4 set P4USER="user1"
git ...
1
vote
2
answers
2k
views
Perforce: How to create a list of files from a changelist?
I want to create a list of files from a changelist in Perforce. I am using command line to open files for adding (mark for add) and deleting (mark for delete) into a changelist, I successfully created ...
4
votes
0
answers
870
views
git-p4 clone from remote Perforce repo gives me empty folder
I'm cloning a Perforce project from server on Windows. I have a working Perforce client spec called myclient.
I used the following command to clone:
git p4 clone --use-client-spec //myclient/path/...
15
votes
1
answer
37k
views
dig-like functionality on windows?
On a windows system, I'm trying to gather all the IP addresses for a DNS name & call a tool with each IP address. I know how to do it from a shell script - but not how to do it from a batch or ...