p4v

Perforce p4 command line is not using same client as the one used in p4v

杀马特。学长 韩版系。学妹 提交于 2020-01-02 05:25:29
问题 OS: Windows 7 64-bit P4V 2011.1 version + P4 command line client comes with P4V I've created a client on my "D:\Perforce\Client1 directory" with P4V and synced all files. When using p4 command line tool to check the same directory (using command: p4 client or p4 opened ). It seems p4 is using a client named < my computer name > , not the client I created via p4v. I also verified this again by right click on the directory in Explorer and go to "Perforce > Connection Info" in the context menu.

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

我是研究僧i 提交于 2020-01-01 05:05:10
问题 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. 回答1: 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

In Perforce on Unix, how do you add a directory that is a symbolic link?

穿精又带淫゛_ 提交于 2020-01-01 04:17:08
问题 I have created a symbolic link directory in Unix and I would like to add it to perforce. (this question relates to symlinks on Unix. Windows symbolic links can have very different behaviour from Unix.) ../blah/dir1 is the source directory, which contains files that are already in Perforce dir2 is the symlink to the source directory that I want to check in ln -s ../blah/dir1 dir2 If I right-click on "dir2" in the p4v GUI, it will add every file under ../blah/dir1 as a new file (even if these

How do I search for the content of files in a Perforce depot (P4V)?

假装没事ソ 提交于 2019-12-22 07:41:08
问题 I am currently using Perforce version 2010.2. It appears that this version does not have an integrated search functionality that will go through the content of every single file. My current P4V version only allows me to search for filenames but not for content. Any input on this would be much appreciated. Thank you in advance. 回答1: Try the 'p4 grep' command, added in release 2010.1, I believe. 来源: https://stackoverflow.com/questions/10519342/how-do-i-search-for-the-content-of-files-in-a

Perforce auto resolve from the command line?

99封情书 提交于 2019-12-21 07:58:09
问题 P4V has been crapping out on me when attempting to resolve a large number of files as part of an integration. I want to be able to do this in the command line. Here's the steps in P4V: Right-click the CL. Choose "Resolve Files..." A dialog will appear. Choose "Merge yours and theirs if no conflicts exist". Click Auto. Can someone translate this into a p4 command line command with correct arguments? 回答1: You can use p4 resolve -am [file ...] which will skip the files with conflicts. If you

Reapplying changelist in perforce

北战南征 提交于 2019-12-12 09:37:23
问题 I'm rather new to perforce, but have quite a bit of other VCS experience... Imagine this: You submit changes (changelist 1) A colleague submits changes on the same branch, accidentally overwriting your changes. (changelist 2) I tried integrating (which P4V refuses to do since it's already integrated) and looked around for a way to just generate a patch that I could apply, but couldn't find anything. For now, I will check out the versions in question and use an external merge tool, but it

Can we create Labels in perforce

余生长醉 提交于 2019-12-08 03:07:56
问题 I am working in a project. We use both clearcase and perforce. As we are working on differnet builds, In clearcase we create a label for each release. Say for release "X", we create a clearcase case "Label X". Label X is having all the latest files with respect to release "X". When we finish another release say "Y", we create another label say "Label Y". Label "Y" is again having all the files for release "Y". But at any point of time we can go back to "Label X" .It means all the files will

p4v does not show the complete list of checked out files

邮差的信 提交于 2019-12-05 13:01:41
问题 If I checkout 4000 files in p4v it does not show me the complete list of files in the default changelist. It just says 4000 files checked out. Is there any way that I can view the complete list of 4000 files? 回答1: Open the preferences dialog via the Edit->Preferences menu. Click on "Server Data" and you'll see a setting labeled "Maximum number of files displayed per changelist*:" Raise that to 4000+ and you should see all those files. 回答2: I don't know if it is possible in p4v. In a command

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

In Perforce on Unix, how do you add a directory that is a symbolic link?

一个人想着一个人 提交于 2019-12-03 10:54:58
I have created a symbolic link directory in Unix and I would like to add it to perforce. (this question relates to symlinks on Unix. Windows symbolic links can have very different behaviour from Unix.) ../blah/dir1 is the source directory, which contains files that are already in Perforce dir2 is the symlink to the source directory that I want to check in ln -s ../blah/dir1 dir2 If I right-click on "dir2" in the p4v GUI, it will add every file under ../blah/dir1 as a new file (even if these files are already in Perforce) and fubar everything. If I do a "p4 add dir2" from the command line, it