perforce

What to enter into “Client” field in the Perforce setup dialog in IntelliJ IDEA 10.5?

柔情痞子 提交于 2019-12-04 01:34:19
I'm trying to set up Perforce integration in IntelliJ IDEA 10.5.2. There is a field named "Client" that doesn't make sense to me. I get the message "Connection problems: Client Unknown" whatever I type into the field. What should I enter into that field? SLaks You need to enter the name of your Perforce workspace. If you have set up the command line tool correctly you may run p4 set P4CLIENT on the command-line. If you use the P4V GUI tool, the workspace name is easily found. Open P4V and connect. On the top left, above everything, there are your: [client], [port], [user] - Perforce P4V They

Integrating moved files in perforce

*爱你&永不变心* 提交于 2019-12-03 23:38:08
Say I created a branch in perforce of our codebase. Here is the branch spec: //depot/code/main/... //depot/code/branch/... Then, in the branch, say I move the branched file a.txt -> b.txt using p4 integrate //depot/code/branch/a.txt //depot/code/branch/b.txt p4 delete //depot/code/branch/a.txt Now, let's say some changes are made to a.txt in main which I would like to have integrated into b.txt in the branch When I try to integrate using the original branch spec, it doesn't reflect the changes made to a.txt in main onto b.txt - is there any way to have the changes made in main show up in the

Perforce - getting email on every checkin

你说的曾经没有我的故事 提交于 2019-12-03 22:34:44
Is there a way to get Perforce to send you an email on every check to a particular depository? Jeff Moser Yes. Type "p4 user" to see your user configuration and then under "Reviews:" put the filespec of the area in depot where you'd like to get notified on a check-in, as in: Reviews: //depot/myproject/... See this section of the P4 command reference for more info. Heinz In p4v (visual client) Connection -> Edit Current User Enter the path to your repository under Reviews This is correct for OSX & Windows. You want to install the Perforce Review Daemon script on your server. What it does is

In perforce how can I delete files from a directory in my workspace where the files are not part of the workspace?

∥☆過路亽.° 提交于 2019-12-03 16:57:52
In perforce how can I delete files from a directory in my workspace where the files I want deleted are not part of the workspace? I have a directory on my file system with files it gets from perforce but after some processes run, it creates some new files in those directories. Is there a perforce command to remove these generated files that are not part of my workspace? Perforce 2013.2 has a p4 status command, which is an alias for p4 reconcile -n I don't know if it was available in earlier versions. This is my quick implementation of p4 nothave . #!/bin/bash # # List files present, but not in

How do I configure BeyondCompare to ignore SCM replaced text in comments?

大兔子大兔子 提交于 2019-12-03 15:11:45
问题 I do have some text sequences that are replaced by the SCM (Perforce in my case). I do want to configure BeyondCompare to consider these sequences as unimportant differences in order to be able to ignore them when I compare files. In my case it's about Python source files and the sequences are looking like # $Id: //depot/.../filename#7 $ # $DateTime: 2010/09/01 10:45:29 $ # $Author: username $ # $Change: 1234 $ Sometimes these sequences can be outside comments, but even in this cases I would

Perforce error - cannot submit from non-stream client

血红的双手。 提交于 2019-12-03 14:43:07
问题 Coming from GIT and SVN background, I've set up my P4V in windows, managed to get the content of my repository into my local folder (somehow), but once I made modification and create new files in my local folder, I cant submit it back to Perforce. It gives error: //depot/main/p4config.txt - warning: cannot submit from non-stream client No files to submit. Submit failed -- fix problems above then use 'p4 submit -c 6'. My depot hierarchy: C:\Perforce\kernelpanic\main>p4 client -S //depot/main

Disable warning in VIM?

余生长醉 提交于 2019-12-03 13:55:23
问题 Is there a way to disable warnings in VIM? In particular, I want to disable Warning 12 when a file turns from read-only to writable. I have a script which opens the file for edit in perforce, but vim thinks the file has changed and issues a warning. Thanks 回答1: add the following line to your .vimrc file : set autoread This will disable "read-only to writeable" warnings 回答2: I have the following in my .vimrc; you should only need the second one. It echoes the message to the status bar instead

git-p4: fatal: git was built without support for git-p4 (NO_PYTHON=1)

旧巷老猫 提交于 2019-12-03 13:33:12
I am trying to use git p4 on my Linux computer. But there seems to be a problem with git-p4 for some reason. When I run the git p4 command I get: fatal: git was built without support for git-p4 (NO_PYTHON=1) Any idea why this message is being displayed? Is there anyway I can fix it? I am using an Ubuntu distribution with Kernel version 3.11.0. Thank you in advance. You could download the git-p4.py file and move it to the right directory: wget http://git.kernel.org/cgit/git/git.git/plain/git-p4.py?id=master -O git-p4 && chmod +x git-p4 sudo mv git-p4 /usr/lib/git-core/ You can just download the

How to set client root in Perforce P4 when client unknown error comes

丶灬走出姿态 提交于 2019-12-03 12:45:08
Suddenly, when I run p4 info in terminal, I notice that the client root is not set (not sure why it got unset all of a sudden. Following is the output which shows "client unknown" in place of client root. What is the command through which I can set the same? I have tried p4 client and p4 set but may be, with wrong syntaxes. BANL121b92746:Applications bagarwal2$ p4 info User name: bagarwal2 Client name: BANL121b92746 Client host: BANL121b92746.local Client unknown. Current directory: /Applications And is the value of this client root be the same as "Workspace Root" set in my P4V client under

How can I list P4 changes since a specific changelist

做~自己de王妃 提交于 2019-12-03 12:27:58
问题 Is there a way get the list of changelists after a particular changelist for a particular branch? p4 changes (some flag ?) (CL#) //depot/project 回答1: p4 changes "//depot/project/...@>nnn" where nnn is your CL#. 回答2: This can be done with the following syntax (assuming you want to see all the changes submitted to this branch since changelist 12345 inclusive): p4 changes //depot/project/...@12345,#head To successfully use Perforce it is crucial to understand the intricacies of the Perforce File