perforce

Git-p4 issues when trying to submit back to perforce

So I'm having issues getting this to work properly. I chug along doing a few things in my git repo, commit, git-p4 rebase and git-p4 submit. The problem pops up on the submit, with the following errors: common/data/testsheet2.xls has type 100755, expected 100644 I get this all over with several different files. Perforce is set to have al...

how to login and download file using perforce command line

I have to download a file daily from perforce depot. Presently I do it manually by selecting that file and using "Get latest version" option. I want to write a script which I will schedule in my windows task schedular to get the file daily. Please help me/guide me how to do this task automatically. I am using p4v client software in ...

In perforce how do i get a list of changelists attached to a job

I'm trying to print out a list of the change list numbers (and optionally descriptions) that are attached to a particular job in perforce. TIA Andy ...

Problem with Hudson-JIRA-Perforce integration

I'm looking at using the Hudson JIRA plugin to post a JIRA comment on each build. The SCM I'm using is perforce which is already linked to the JIRA tasks using perforce jobs. I can see that the JIRA story (e.g. PROJ-001) is visible through the perforce plugin when clicking on the changelist number in the build reports. I'm having proble...

Problem with missing files on syncing with git-p4

I'm getting a recurring issue with git-p4. On syncing with git-p4 clone //depot/project/main the majority of files are synced up but there are a number of exceptions for which I can find no apparent common denominators. I created a separate Perforce workspace to use with git-p4 and globally set the properties git-p4.client to this work...

Perforce: 'remove from workspace' from command line ?

The p4v Perforce GUI client has an 'Actions > Remove from Workspace' menu command which removes all files from the workspace that are under version control and were not opened for edit or delete. This functionality only seems to be available from the GUI client, I can't find any corresponding command in the ever growing list shown by p4...

It is possible Check-in/Check-out file from WAN in Perforce

I m new to perforce, i want to know that it possible to checkin/check out file from different domain. ...

How do I display a particular changelist number in p4v?

When viewing submitted changelists in p4v, is there a way to display a particular changelist number? That is, how I do the equivalent of p4 describe in p4v? Can I filter for a particular changelist number? I don't see how. ...

Perforce - is it possible to directly submit open files on a different branch?

I'm using perforce for versioning control. Let's say I am working on a file in the main branch: //main/xx.cs (it's open for edit) In the mean time, //main gets branched to //v1 and then //main gets locked. Is there a way I can integrate my local changes in //main/xx.cs directly to //v1/xx.cs ? ...

Visual Studio: How to exclude whole directory from source control?

I've got a Visual Studio 2008 project that contains files that are code-generated in a pre-build step. None of these files should be included in source control. I cannot predict how many files there are going to be, or their exact name. The generated files are included into the Visual Studio project file via a wildcard directive: <It...

I need help syncing perforce on a remote machine with c#

Hi I would like to be able to sync perforce on my build server from another server programmatically using C# . Server A has the EXE on it. Server B has perforce. I have admin privileges on both machines. I would like to use something like System.Diagnostics.Process.Start("p4 sync", "\"" + path + @""" -f //release/production/...") ...

How do I diff 2 Perforce Client Specs

I have two perforce clients (client-a, client-b) that each contain about 40 file specs. They are similar, but each client has several file specs that aren't included in the other. I would like to find the differences between these client specs. Ideally, the output would look something like this... File specs in client-a and not in cl...

Get Perforce Credentials with .NET

Lots of times when I use an application that needs perforce access (Visual Studio, Unreal Editor) when I first use it, it will pop up a dialog where the user can enter their information (user, workspace, etc). Does anyone know of a way to do this in .NET? ...

Online Perforce Repositories

Is anyone aware of of anybody offering hosted perforce servers? It doesn't have to be free - but preferably not too expensive! My understanding of Perforce is that it's free to use for personal projects, which mine is. Currently I have a perforce server setup on the same machine as the code is on which doesn't offer much security in cas...

Xcode + Perforce: it frequently shows me the spinning wheel for no reason! What can i do?

While working on an Xcode project i keep getting the spinning wheel while switching files, scrolling, searching, typing, debugging, removing breakpoints, switching back from another app or saving. It also happens before compiling but usually it just happens from time to time for no apparent reason. This is the second time this started h...

Filespec syntax for Perforce to NOT include subfolders

I need to run some p4 commands using a filespec with a changelist but I don't want to include files in subfolders. Typically the syntax is: //depot/projectA/...@1234 However, this includes all subfolders. How can I restict the results to be only for the current folder? ...

Have Perforce mail an arbitrary email address upon submit?

With perforce, a user can get email notifications of changes to a particular file or directory by specifying it in the Reviews field of the user record (more details in the Perforce documentation). However, I would like to have email notifications sent to a team mailing list, which is of course not a perforce user. One kludgy way of ac...

Perforce tasks for MS Build

Are there any community MSBuild tasks for Perforce (e.g. even just basic syncing)? Neither the MSBuild Community tasks or MSBuildExtenstion pack seem to have any. ...

understanding P4 describe / diff summary (-ds) option

Greetings P4 folks, I am trying to understand the P4 describe -ds output. I am assuming that this is the same as the p4 diff -ds output. Here is an example of the "Differences ..." block: ==== //depot/Groups/mygroup/trunk/main/FooBar.java#5 (text) ==== add 7 chunks 13 lines deleted 1 chunks 1 lines changed 16 chunks 92 / 118 lines ~ ...

Perforce: How do I p4 integrate a local uncommited changelist?

So here's my scenario: I have two projects projectA and projectB. A branchspec auto-integrates projectA to projectB. Now, I have a changelist which modifies some files in projectA -- I have not committed/submitted this changelist yet. I'd like this changelist to go into projectB only. Doing a p4 integrate -b branchspec -c changelistN...