perforce

How do I solve a WSAECONNRESET error?

假如想象 提交于 2020-01-06 05:17:05
问题 I am using Perforce as part of a small development team. Everyone was able to connect to the P4V client except for one person who gets the following error: TCP receive failed. read: socket: WSAECONNRESET We have deactivated his McAfee firewall and virus scan, but the error persists. I really don't know what to do with this error and it seems to be rather undocumented on the perforce website. From what I gather, it's because it's not a perforce-specific issue, but rather a TCP communication

Perforce:Need some introduction on Perforce streams

耗尽温柔 提交于 2020-01-05 04:09:05
问题 I am new to perforce streams. I have gone though some docs over net and not clearly understood what is the main use of perforce streams. Can any one please help me giving brief intro on perforce streams. what is the main purpose ? when it is useful ? 回答1: It would be easier to answer this question if you gave some hint of your context -- do you already understand the general concepts of branching and merging as they're used in other tools, or better yet, are you already familiar with how

p4python: get diff2 form depot

拜拜、爱过 提交于 2020-01-04 03:15:32
问题 I want to retrieve output of the next command (where p4 is standard perforce client): p4 diff2 //depot/...#1 //depot/...#2 In terminal it is producing something like this: ==== //depot/bin/build.sh#1 (xtext) - //depot/bin/build.sh#2 (xtext) ==== content 1a2 > #added something 2 9c10 < fi--- > fi ==== //depot/bin/README#1 - <none> === ==== //depot/bin/status_ok#1 - <none> === Let's assume that I have next script in python: from P4 import P4 p4 = P4() p4.port = "1818" p4.host = "localhost" p4

Perforce使用指南_forP4V

你说的曾经没有我的故事 提交于 2020-01-04 03:14:43
第一章 前言 Perforce SCM System是一款构建于可伸缩客户/服务器结构之上的软件配置管理工具。仅仅应用 TCP/IP,开发人员就能够通过多种Perforce客户端(几种平台的GUI、WEB、或命令行)访问 Perforce服务器。Perforce能够被快速和容易地部署,即使对大型或分布式的站点,也只要求最小限 度的管理。Perforce可以使用在50多个操作系统中,它包括版本控制、工作空间管理、变更处理和 一个强大的分支模型。这里介绍的P4V是perforce的一种可以跨平台使用的客户端。 1.1. Perforce结构 1.2.专业术语定义 第二章 Perforce使用介绍 2.1客户端配置 2.1.1. 服务器连接 1.是首次在您的机器上使用P4V,那开始会出现如下的创建工作空间窗口。选择“Create a new client workspace”,在你的本地机器上创建你的第一个工作空间。 2.在菜单栏上,选择“Connection”下拉菜单中的“open Connection”选项。 3.弹出如下配置窗口,按如下配置填写正确的服务器名、端口、用户名、密码及工作空间设置。 4.在这里需要强调的是,登录时请务必填写Workspace的内容,否则Perforce的一些操作无法正常执行。如果还没有创建Workspace,请点击New,界面如下: 5

谈谈Perforce

爷,独闯天下 提交于 2020-01-04 03:12:44
实习就要结束了,收获之一就是学会了使用Perforce! Perforce SCM System是一款构建于可伸缩客户/服务器结构之上的软件配置管理工具。仅仅应用 TCP/IP,开发人员就能够通过多种Perforce客户端(几种平台的GUI、WEB、或命令行)访问 Perforce服务器。Perforce能够被快速和容易地部署,即使对大型或分布式的站点,也只要求最小限 度的管理。Perforce可以使用在50多个操作系统中,它包括版本控制、工作空间管理、变更处理和 一个强大的分支模型。这里介绍的P4V是perforce的一种可以跨平台使用的客户端。 和其他的版本控制工具一样,perforce也是基于CS架构,有一个中央服务器,其他客户端通过网络来连接,如下图: 1.服务器连接 填写正确的服务器名、端口、用户名及工作空间设置。 2.客户端主要工作区 上图所示的是Perforce的主界面,大部分的操作都是在该界面下完成的。该界面分为三个区域: 区域1:显示Deport以及Workspace中的内容,称为目录区。 区域2:列出文件的一些操作属性,称为操作区。 区域3:给出所执行操作的提示信息,称为信息区。 目录区 目录区由Depot目录区和Workspace目录区组成。 --->Depot目录区 显示了服务器上可见目录结构(用户权限设置不同,可见目录也不同),这也与Workspace

perforce

≡放荡痞女 提交于 2020-01-04 03:10:05
第一章 前言 Perforce SCM System是一款构建于可伸缩客户/服务器结构之上的软件配置管理工具。仅仅应用 TCP/IP,开发人员就能够通过多种Perforce客户端(几种平台的GUI、WEB、或命令行)访问 Perforce服务器。Perforce能够被快速和容易地部署,即使对大型或分布式的站点,也只要求最小限 度的管理。Perforce可以使用在50多个操作系统中,它包括版本控制、工作空间管理、变更处理和 一个强大的分支模型。这里介绍的P4V是perforce的一种可以跨平台使用的客户端。 1.1. Perforce结构 1.2.专业术语定义 第二章 Perforce使用介绍 2.1客户端配置 2.1.1. 服务器连接 1.是首次在您的机器上使用P4V,那开始会出现如下的创建工作空间窗口。选择“Create a new client workspace”,在你的本地机器上创建你的第一个工作空间。 2.在菜单栏上,选择“Connection”下拉菜单中的“open Connection”选项。 3.弹出如下配置窗口,按如下配置填写正确的服务器名、端口、用户名、密码及工作空间设置。 4.在这里需要强调的是,登录时请务必填写Workspace的内容,否则Perforce的一些操作无法正常执行。如果还没有创建Workspace,请点击New,界面如下: 5

Can a script be automated after a commit on Perforce?

与世无争的帅哥 提交于 2020-01-02 09:56:27
问题 We use Perforce at work, and routinely keep software projects in the repository. In general creators follow the normal Perforce flow, BUT we also have a class of users, who doesn't have any need to edit the files but only read them. Currently we use P4Web but that requires the user so download each file individually to reassemble the project directory. Ideally I would like to have a process where when a user does a commit/submit in Perforce, the script would automatically run to generate a

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.

How to convert Perforce depot locations to client view locations

时光总嘲笑我的痴心妄想 提交于 2020-01-02 02:01:13
问题 I'd like to know how to convert Perforce depot locations to client view locations for the purpose of script writing. I have a script that first checks out a file for edit in perforce and then interacts with the file. I need to have the depot location (i.e. \Projects\Project6) converted to the client view location. (i.e. d:\Projects\Project6). Is this possible? 回答1: I have always used the p4 where command for this. Here is its description from the built-in help: where -- Show how file names

`git-p4 clone` fails “new tip … does not contain …”

时光怂恿深爱的人放手 提交于 2020-01-02 02:00:09
问题 I'm runnining on Windows, with the windows p4 client, and git installed via Cygwin. The p4 client advertises how its syntax is regular across platforms and all that, so that should be hunky-dory. So when I go to git-p4 clone --verbose //depot/path/to/source , it lists out all the files in the repository as though they were being checked out, then dies saying Exception: fast-import failed: warning: Not updating refs/remotes/p4/master (new tip cd601b92da8625c90af05685e450e55b6d19c9e9 does not