perforce

p4 clean directory

How do I remove old copies of edited/submitted p4 files: edited_this_already.ext~? I can remove them via Unix command, but can p4 do this? Thanks! ...

Reporting on all file renames and moves in a Perforce branch.

Does anyone have code (preferably that runs on Win32) that will display a history of all file renames and moves that have occured in a Perforce branch? ...

Is it possible to list the changelists that have been integrated to a workspace?

In perforce, is it possible to get a list of the change lists that have been integrated into a workspace but not committed? ...

Eclipse link source and source control

I am working on a project that is under source control (perforce) and already has an Eclipse project in source control (I still have to edit it manually, but that is a different issue). I have been working on some code in a completely different location. I want to include this into the main project classpath. The problem is if I just do...

Perforce: Branch from a specific changelist perforce

Hi - How do you branch from a specific changelist in perforce? That is, if main is my main codeline, and I want to create a branch b off of main from a changelist n, what is the syntax to do this? I've tried: //depot/main/...@n //users/me/sandbox/... in my branch spec, but get errors. And p4 integrate -b branch_b @n doesn't seem...

Perforce fast sync a directory to a clean state

I want a fast solution that does not require force sync that will put a specified directory to its original repository state. same files may be removed from disk same files may be added from disk some files may be modified on disk some files may be marked for removal, addition or modification in perforce All I want is to be sure that...

p4v does not show the complete list of checked out files

If I checkout 4000 files in p4v it does not show me the complete list of files in the default changelist. It just says 4000 files checked out. Is there any way that I can view the complete list of 4000 files? ...

P4CONFIG with emacs

I would like to see examples of how to setup perforce, using the config file functionality where emacs is used as the diff and merge programs (P4DIFF and P4MERGE settings). Even better if this is on Windows. I'm also struggling with getting the P4EDITOR to work correctly when using emacsclientw, specifically specifying the alternate-edi...

Can user have private area on Perforce ?

Can user have private area on Perforce server ? This area will be used by user to check-in code/files for which exact target branch is undecided. Also this area wont be shared, so this code is not visible to any other user other than himself. Not visible to other users should be preferred but not a must to have. ...

Looking for ideas on how to display data on Files and Changelists/Bugs associated with them.

Title says mainly the problem. On my spare time for our group at school, I've written something to parse our p4 submissions and the files associated with each changelist. I've then created a tree structure and each file has a list of all the changelists and ones that pertain to bugs associated with them. I'm looking for awesome ideas o...

Perforce File Locked By Departed User

I have a file that is locked/checked out exclusively by a user who is no longer with the company. I need to make changes and want to know how to "steal the lock". ...

TeamCity: Error on VCS update

Hey Guys, I have some trouble getting the VCS of teamcity work. I'm using perforce and the TC-Server should be configured correct, but when running the project I'm getting the error: [Updating sources: server side checkout...] Error while applying patch: Failed to change text file: C:\Projects\BuildSrv7... C:\Projects\BuildSrv7.. (Acces...

Put P4 move operation in a non default changelist

I'm trying to do a p4 move to retain the perforce history. P4 moves created a delete/add operation in my default changelist. The documentation assures me that p4 move will retain history via an 'integration record'. Now I want to submit the p4 move (delete/add) operation part of a changelist. How do I make sure that Perforce will do th...

git-p4 sync on different branch and repo

I'm trying to mirror a perforce repository, and git-p4 performs well enough on the main branch. I simply have to call git-p4 rebase. I'm also trying to mirror a different branch, but that's not working out so easily. I thought I could just do a git-p4 rebase --branch=p4/whatever //open/branches/whatever but rebase appears to ignore those...

P4 shelve of commited files

Is there any option to shelve files that have been once commited? I need to expose them for a codereview. I've tried to fetch old versions and shelve them to produce something like back-diff, however it doesn't work for me: although files in shelve are old one, diff in P4V thinks they're identical to new ones. ...

Perforce: How to integrate across several branches?

I have the following situation of branches in a Perforce repository: There’s a mainline “trunk” and two release branches “1.0” and “1.1”. A branch “customer” with customer specific changes has been branched off the 1.0 branch. Now the customer wants to move to version 1.1. How can I merge the 1.1 branch into the customer branch? The cust...

git-p4 vs git-svn

My company currently uses SVN for it's repository. In order to get better merging and local branches/revisions I've been using git-svn over a subset of the larger repository. My company was recently purchased and one of the services offered by the corporate mothership is centralized SVN or Perforce hosting. Given that neither Perforce...

Where does Hudson store its last synchronized Perforce changelist number?

One of our Hudson build systems is not automatically starting its jobs since we switched it over to a different Perforce server. The polling log reports: Last sync'd change was nnnnnn Where nnnnnn is a changelist number from the old server. The new server has lower CL numbers, which causes the problem. How do I adjust the CL number t...

Perforce integration with Flex Builder / Flash Builder

How well does the Perforce Eclipse plugin work with FB (3 and/or 4)? I've found some claims of compatibility on the internet but I'd like some confirmation of compatibility based on real experience before I bother trying it. ...

Migrating from git to Perforce

I have the task of migrating my team & source from git to Perforce, and I'm looking for ideas on how to move the git history into p4. I would be happy moving master branch only. However, even that is proving problematic. I'm using the wonderful git-p4 tool. I create an destination area in my p4 workspace, and use git p4 clone //depot/S...