perforce

checkout files simultaneously in perforce

In CVS we cant check out the files simultaneously. Can anybody tell ....whether in perforce can we checkout files simultaneously? And i heard about locks on the files. Before merging the file do we need to have a lock on them in perforce? ...

Mercurial Pull Error

I am new to the dvcs world. My company uses perforce and I'm not a fan so I thought I'd try to use mercurial as a front end. I set it up on a windows machine with TortiseHG, enabled the Perfarce extension, did a small checkout (limiting the target revision) and pulled for the rest. This seemed to be more robust than clone alone. This...

Perforce command line only showing local users/changelists/workspaces, but P4V shows all

We are using P4 for free with two users. In the P4V admin gui I can see both myself and my partner as users, and in the P4V gui I can see all workspaces (clients) and all changelists (both mine and my partner's). From the command line, 'p4 users' only shows me, 'p4 clients' only shows my local workspace, etc. Is there some mode, environm...

Branch view for a file that has been split into multiple files

I have a large source file in Perforce that has been split up into several smaller files in a branch. I want to create a branch view that can handle this, but perforce (2009.1) only sees the last of the multiple files. For example, I created: p4 integrate //depot/original/huge_file.c //depot/new/huge_file.c Later I split the huge file...

Extending Perforce to use a custom content diff tool for certain file extensions

I have various custom binary files stored in perforce and for many of the file types I have built a custom diff tool to show the content creators a diff of the actual changes to the file. E.g. If the file holds simple key value pairs as a compressed binary blob the diff tool would load each version into an in memory format and generate...

Visual studio not detecting that exe is out of date after perforce revert

This is a bit of an odd situation. Here's what's happening. So, we have a VS2008 project which outputs to a number of files under perforce control. These files have the always writable flag set. I compile the project in VS, which gives me up to date binaries on my machine. If I then revert those binaries via perforce, I have the versio...

p4 cmd line client on OSX always throughs error when I try to get it to do something... p4v works fine

link-mbp:~ benb$ p4 Perforce client error: Connect to server failed; check $P4PORT. TCP connect to 1666 failed. connect: 1666: Connection refused link-mbp:~ benb$ though when I check p4 set it shows all the right data for those environment variables. thoughts? ...

trying to use code_swarm but Im having some python scripting problems with perforce on osx

I am having issues running this: link-mbp:codeswarm-0.1 benb$ python convert_logs/convert_logs.py -perforce-path Traceback (most recent call last): File “convert_logs/convert_logs.py”, line 408, in main() File “convert_logs/convert_logs.py”, line 350, in main files = run_marshal(’p4 -G describe -s “‘ + changelist['change'] + ‘”‘) KeyErr...

Checkout to a custom changelist.

Is there a way to checkout a file directly into a specific pending changelist in Perforce? ...

Problems executing P4 commands from NAnt via web app on IIS 6.

I'm encountering strange permission issues with Perforce when running it from a NAnt script - but only if that NAnt script is kicked off from a PHP script. Hopefully someone can enlighten me as to what's going on! I've got a PHP script running in an application pool that is set up to use the "build.user" user account. The script curre...

How to output in the the log window in perforce client p4v using custom tools.

We're developing perforce custom tools in python and we're outputting messages during the script execution. It shows up in p4win but we're mainly using p4v and the output doesn't show up in the log window. Is there a way to output there or in any other pane without resorting to run the tool in a terminal window ? Thanks ...

Perforce depots

Is it preferred to have one depot with multiple folders which map to different paths in a workspace. OR multiple folders in one depot that map to multiple workspaces, or multiple depots to multiple workspaces. Does anyone have any practical advice on the matter? I've also noticed that when I have multiple folders in a depot that map to...

p4 sync as different user

How do you p4 sync as another user? ...

perforce exclude subfolder from diff

I have added an exclusion to my workspace which is called "dev-machine" -//depot/DotNetProject/bin/... //dev-machine/bin/... The bin folder now shows as excluded in p4diff but... The differences are still showing i.e. diff 1 of 11 and the next and previous arrows are still taking me into those excluded folders. Am I missing something...

How does one run git-p4 in Windows?

It doesn't look like git-p4 is part of the MSys-Git project for Windows. Does anybody know how to get it running through Windows? ...

Perforce Howto? Syncing/Merging files between branches.

(A) ------- (B) ----------- (C) | | | Trunk ReleaseBranch DeveloperBranch Developers work in the C branch and check-in all the files. The modified files are then labeled in the C branch. The binaries that get deployed are built from B branch and labeled. Currently all this is manual. In Perforce, is there ...

How to setup Xcode 3.1.4 with Perforce ?

Hi everyone, I've been trying to setup Xcode with Perforce for about 7 hours now and managed to get the Perforce Repository Authenticated within Xcode. The problem I have is, within the repositories window, I don't see any directories for me to check out. I can see the p4root login and client are ok with the tick on the repository log. ...

In Perforce, list all changesets by user

In Perforce, how do I list all changesets for a given user? Can that be done via a single "p4" command? ...

Is it possible to create a patch using a set of changelists?

Problem: 2 projects shared trunk and were updating some of the same files. Now one project needs to be released, so a new branch was created from a checkpoint before the projects started. I have a list of just my changelist numbers from the mainline. Using that I can generate a list changed files and diff output using a script with a s...

Where is the -j (select job) option when using p4 submit?

When submitting changelists in Perforce I need to allocate a job. The jobs which I am supposed to associate with my changelist are not allocated to me and does not show up in the list of available jobs when I invoke "p4 submit". I know the job number which I am going to use, but can't find a way to specify it. Basically, I want to do som...