perforce

Public Perforce Open Source Repositories?

While there are many open source repositories using CVS, SVN, and git, I'd like to know if there are any built atop Perforce, as I've been happily using that for CM at home for many years now. Perforce provides a public depot, but the projects hosted there appear to be strongly Perforce-oriented. What I'm working on has nothing to do wi...

Perforce as integration and build server on w2k3x64?

Hi We are in the process of migrating from TFS 2005 to Perforce and moving to more Simple TDD type process for our software. Do you have any resources for setting Perforce up as an intergation and build server? Looked at this question http://stackoverflow.com/questions/419181/build-management-continous-integration-best-practices wh...

Locking a branch in perforce?

Currently after I create a release branch, but when we have some time before we release, I sometimes open the entire branch for edit and then lock all files in order to prevent anybody from modifying anything during "code-freeze" period in the release branch. Is there a better way? Doing it my current way seems possibly like an incorre...

Perforce Dev Branches - Sparse Branching vs. Private Branching

I'm looking for some feedback on the advantages and disadvantages of the methods available for creating individual development branches in a Perforce depot. If I understand correctly, there are two ways of handling this. The first is to create a Private branch, which is a complete copy of the branch that you are working on. The branch...

Get perforce data into a .NET application

Hi all. I'm curious as if anyone has used any method of getting data from perforce into a managed language. I've found a few sample applications out there, and I'm hoping someone here has had success in doing this and could offer some advice. Thanks! ...

Which SCM tool supports these features?

I am using Perforce for the past 5 years or so and am very comfortable with the features it provides. Based on your experience of a SCM tool SVN, GIT, CVS, etc, can you please tell me what features from below list is supported by that SCM tool. Command line equivalent(not a cutdown version) GUI functionality Branching to maintain mul...

using Maven SCM tag with Perforce

Does anyone have examples on how to configure the Maven SCM tag for perforce? ...

Eclipse Perforce Plugin and Defaulting the File Type Modifier so Version is Updated

We migrated our version control system from CVS to Perforce and our Java dev team is using the Perforce plug-in in Eclipse (Mac). The version is no longer updating on adds/edits. We are using the $Revision keyword in our javadoc. According to the Perforce site, you have to use the +k modifier, effectively changing the file type from text...

Getting the whole files history with p4-git

As I've mentioned in a previous question, I'm looking into migrating our source control from Perforce to git. Looking around, I've found p4-git (you have to dig a bit more, since it's not even at the repository pointed by the link. The actual p4-git script harder to find). I'm now running this script, and it imports the current versio...

Tracking a remotes/p4/master branch in git

I'm cloning a repo that was first generated by git-p4. git-p4 uses a 'remotes/p4/master' branch that I would like to track. How do I tell git, which is cloning that repo, to track remotes/p4/master as well? That way I would be able to check out "origin/remotes/p4/master" or something. ...

What is the limit of source repositories in Visual Source Safe 2005

We're thinking of using VSS for a simulation development project so we will have both code and a pretty sizeable number of binary files (possibly several GBs or larger). I've seen references on the web to VSS limits of around 4-5 GB but I can't find any definate specs. My first choices would be SVN or Perforce but the team has a few pe...

Very strange visual studio behaviour with excessive lines of whitespace

Hi, yesterday we updated to a new version of some middleware we are using, and had a very bizarre merge problem with perforce... it had created approximately 10-20 thousand lines of white space in one of my functions, this all compiled fine, upon running the program it crashed indicating some memory issue, tracing back through the call s...

Perforce Issue in Visual Studios 2008

My team uses Visual Studios 2008 to develop SSIS packages and we use Perforce as our source control system. When a user adds a file to a project, the project is automatically checked out WITHOUT checking to see if it is the current version. Is there a way to force Visual Studios to get the latest version of a file before it is checked ...

Perforce "Translation of file content failed" error

I'm trying to add a fairly large number of files to a Perforce depot. On submit, I get the following error, which I think means it's having trouble working out the file type for one of the files: Locking 16380 files ... Translation of file content failed near line 1 Submit aborted -- fix problems then use 'p4 submit -c 5851'. Some file...

equivalent to perforce job in svn

Hi there. Is there an equivalent mechanism to a perforce job in svn, for grouping related changes? ...

Revert File not in a workspace in perforce

I am trying to delete an old user from our perforce installation. A previous admin had deleted all their active workspaces / clients so we should be able to now delete the user, however when i run p4 user -f -d auser User auser has file(s) open on 1 client(s) and can't be deleted. However auser no longer has any associated clients, ...

How to find changelists submitted in the last week for a particular user using Perforce ?

Is there a way to ask Perforce to list all changelists submitted by a particular user in a specific time frame ? p4 changes @2001/04/01,@now This lists all the changes submitted from 1st April till now. p4 changes -m 5 -u edk Shows the last five submitted changelists from user edk. Is there a way to combine both the above for a par...

Perforce wildcard problem in branch specification

In a branch spec, I have the following view: //depot/dev/t/a/g/... //depot/dev/t/r/g/... -//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/... Perforce reports an "Incompatible wildcards" for the second rule there. What I'd like to do is exclude all the directories beginning with "o". What am I doing wrong, and how do I fix this? ...

Can someone explain the perforce integration options?

Specifically: Why do I need to explicitly enable "Enable baseless merges" all the time? I am integrating from my branch to the trunk. What does "Enable integrate over deleted targets" mean? Shouldn't it do this by default? If the file doesn't exist, and you integrate to that branch with the file, it should create the file, right?? Wha...

Yes, another Source Control Question

Ok, I have read the other threads I could find on this subject, but still I think I want to beat this particular dead horse a bit. The situation I am in is this. I currently use Perforce locally on my computer at home and on my computer at work and I am very happy with it. But I want to share the SCM Love with my co-workers and we are ...