perforce

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

…衆ロ難τιáo~ 提交于 2019-12-03 04:52:43
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 like to be able ignore these lines because they are not really changed. Beyond Compare's parser doesn't

Perforce error - cannot submit from non-stream client

妖精的绣舞 提交于 2019-12-03 04:31:19
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 -o # A Perforce Client Specification. # # Client: The client name. # Update: The date this specification

How to delete a workspace in Perforce (using p4v)?

只愿长相守 提交于 2019-12-03 03:13:42
问题 I'm new to Perforce and have created a few workspaces as exercises for getting familiar with it. Now I would like to delete some of the workspaces. I just want to get rid of the workspaces so that they do not appear on the drop-down in the workspaces view ( do not want to do anything with actual depot files). Googling up an answer yields the suggestion to "make the workspace active" (I guess that means select it in the workspace dropdown?) and then delete it from the "edit" menu.

Disable warning in VIM?

被刻印的时光 ゝ 提交于 2019-12-03 03:08:11
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 add the following line to your .vimrc file : set autoread This will disable "read-only to writeable" warnings I have the following in my .vimrc; you should only need the second one. It echoes the message to the status bar instead of popping up a dialog. autocmd FileChangedRO * echohl WarningMsg | echo "File changed RO." | echohl None autocmd

Configuring Perforce scm into maven project to get latest changelist

匿名 (未验证) 提交于 2019-12-03 03:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am migrating a project to Maven and as we were used to always reference our builds by the latest change number in our Perforce SCM repository, I would like to be able to extract this information I am trying to configure Maven scm plugin via following resources: http://maven.apache.org/scm/maven-scm-plugin/usage.html for generic usage http://www.perforce.com/perforce/doc.current/manuals/p4maven/index.html First I don't understand how to make it work, so if anybody has a fully working example, I will be happy to, on my side I have tried by

Perforce for a Subversion user?

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've just changed jobs. My previous employer uses Subversion, my new employer uses Perforce. Are there any resources out there that'll help me, as a user , change my mental model from a Subversion one to a Perforce one? What are the analogs to common SVN commands? Which concepts are implemented differently? I'm not particularly interested in the pros and cons of Perforce vs Subversion - the decision's been made. There are plenty of other questions on S.O. covering that. I'd like to know what mental readjustment I'll have to make (or not).

Perforce: 'remove from workspace' from command line?

久未见 提交于 2019-12-03 02:55:16
The p4v Perforce GUI client has an 'Actions > Remove from Workspace' menu command which removes all files from the workspace that are under version control and were not opened for edit or delete. This functionality only seems to be available from the GUI client, I can't find any corresponding command in the ever growing list shown by p4 help commands . I thought of using p4 where , p4 files and some list filtering, but that doesn't seem trivial, so before I go about creating a script, does anyone have a better idea ? Specifying a revision of either #none or #0 will remove the files: p4 sync /

Perforce error - cannot submit from non-stream client

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 -o # A Perforce Client Specification. # # Client:

Perforce, How to integrate a change to another branch?

匿名 (未验证) 提交于 2019-12-03 02:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have trunk and a release branch. If I fixed a bug in release branch, I definitely should integrate the fix back to trunk. However, I didn't find a command dedicated to integrate such a single change list; did I miss something? 回答1: To integrate changelist 100, for example, you'd use: p4 merge //releasebranch/...@=100 //trunk/... p4 resolve p4 submit (If you have an older Perforce server you'll have to use 'integ' instead of 'merge'.) Note that '@=100' means the same thing as '@100,100' in this context. 文章来源: Perforce, How to integrate a

What are the advantages to Perforce?

匿名 (未验证) 提交于 2019-12-03 02:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What are the benefits of Perforce? I'd love to have some insight as to how Perforce can work better in a given situation than, say, Subversion. If you have experience with both Perforce and Subversion and you don't believe that there are any advantages, or believe that svn has advantages over Perforce, I'd like to know why, as well. 回答1: I've worked with Perforce for years, as well as Clearcase, Sourcesafe, RCS, PVCS, CVS and Subversion. More recently I've started using GIT too. From this experience my opinion is that, for most purposes,