p4

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...

p4 sync as different user

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

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? ...

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? ...

git-p4 submit fails with "Not a valid object name HEAD~261"

I've got a git repository that I'd like to mirror to a Perforce repository. I've downloaded the git-p4 script (the more recent version that doesn't give deprecation warnings), and have been working with that. I've figured out how to pull changes from Perforce, but I'm getting an error when I try to sync changes from the git repo back. He...

Git repo planning questions

At work, development uses perforce to handle code sharing. I won't say "revision control", because we aren't allowed to check in changes until they are ready for regression testing. In order to get my personal change sets under revision control, I've been given the go-ahead to build my own git and initialize the client view of the perf...

How to get --detect-branches to work with git-p4?

My p4 repository has a structure similar to: //depot/project/branch1 //depot/project/branch2 //depot/project/branch3 ... etc However, when I use git-p4 to clone "project", all 3 branches are not considered as branches and all get cloned into the single master branch. This is how I'm invoking git-p4: git-p4 clone --detect-branches ...

Getting a list of workspaces on a specific machine with p4

I was going to ask this on superuser.com but there were only 5 perforce tags so I came here... How can I get a list of workspaces on a specific machine with p4? I can run p4 workspaces, but that gives me all of them, ever. How can I filter it down to a specific machine(client) name. ...

Git to SVN trouble

My boss has a Perforce repository for which he wants to make a read-only copy available on Sourceforge via subversion. He had a perl script which would do this but it's no longer functioning (we don't want to try debugging it yet) and it's really not that great anyway. So an alternate solution is to pull the perforce repo into git as a ...

Does perforce supports file streams on Windows?

Does Perforce supports file streams on Windows, on NTFS? ...

Installing GSL on windows and making it available to python package P4 for phylogenetics

I want to use the P4 Python Package on a windows machine. from: [http://www.bmnh.org/~pf/p4.html][1] I have python 2.6 installed and working with numpy ready and realines.py installed. There is a win32-gbu version of GSL installed on my windows machine, from gnuwin32.sourceforge.net/packages/gsl.htm When I try to install P4, using set...

Verbose p4 sync

In the visual Perforce client (p4v) there is an option: Show p4 command output for file operations When it is enabled, in the log pane I can see detailed logging like this: p4 sync /Users/az/ftp/...#head //depot/ftp/inc/PICHNL.H updated /Users/az/ftp/inc/PICHNL.H //depot/ftp/src/ftpprot.cpp updated /Users/az/ftp/src/ftpprot.cpp 2 ...

Need a Perforce DVCS recommendation: git-p4, hg Perfarce, or Something Else?

We're getting migrated from Subversion to Perforce at work. I've been using git-svn and it's kept me very productive. I want to keep using a DVCS for my own development. Which works best with Perforce in your experience, git-p4, Perfarce (hg) or something else I've never heard of? What works well (and what doesn't)? ...

P4, How to find changelist user from a given changelist?

Hi, Anybody knows how to get the change list user from a given changelist(say, #12345)? p4 describe -s #12345 will give output like this: Change #12345 by user@user_clientspec on 2010/07/26 10:26:29 affected files... ....... Is there any command to give only the user name. Not with client spec as it shows user@user_clientspec. ...

Getting the list of files changed from a commit in perforce

Hi, Is there a way, in Hudson, of getting the list of files from a p4 change list and passing it to an ant build script ? ...

Non integrated change lists between two branches

Hi All, I wanted to find the non-integrated changelists from branch1 to branch2. When I do the following command : p4 interchanges -t branch1 branch2 > temp.txt I am getting the error: "Too many rows scanned (over 500000); see 'p4 help maxscanrows'." How I can use more restrictive wild cards in this case to get the results? I want t...

Perforce: P4V option to 'add to client view'? (It exists in P4Win)

In the Perforce realm, the P4Win GUI is now "legacy" and the new P4V is supposed to fill in the void (and it does, most of the time). There was one very useful (albeit rather hidden) option in P4Win that allowed adding a depot path to the client specification in a few clicks. Is there a similar option available in P4V? ... because I ca...

Non integrated change lists between two branches

when I use the following command in command line it's giving list of non integrated change lists. p4 interchanges -t $branch1 @$date1, @$date2 $branch2 > changes.txt But when I use this command in a Perl script as below it's not giving output: $cmd = system ("p4 interchanges -t $branch1 @$date1, @$date2 $branch2 > changes.txt"); Th...

Git for Perforce users

I've been using Perforce for a number of years. I'd like to switch to using git for my personal code, but all of the git tutorials that I've seen either assume that you'e a complete source control n00b (which makes them incredibly tedious) or that you're used to svn (which I'm not). I know p4, and I also understand the idea behind a dis...