perforce

GIT vs. Perforce- Two VCS will enter… one will leave [closed]

大城市里の小女人 提交于 2019-12-29 10:09:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Closed 5 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. So I'm in the process of getting GIT sold at work. First thing I need is to convince everyone that GIT is better at what they're already used to doing. We currently use Perforce. Anybody else go through a similar

Is Perforce worth it? [closed]

吃可爱长大的小学妹 提交于 2019-12-28 11:48:23
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . A colleague of mine has become excited about the possibilities with PerForce (we basically need an abillity to logistically group patches and changes, and having the SCM support this natively would be very nice). We currently use CVS and are open to all posibillities. We are

How to detect if a perforce session is opened?

孤人 提交于 2019-12-25 08:48:13
问题 I need to detect if a batch file has been executed from the local shell or by double-clicking within P4V. Is there a way I could check if P4V is open? At first I thought to do it in this way, but as always, TIMTOWTDI. Any thoughts? 回答1: Short answer: no, not really. Long answer: You can try to fake it, as you suggest, by checking for a running p4v.exe process. This will only tell you if P4V is open, though. If you had P4V open in another window, and you ran your batch file from a shell (e.g.

Workflow for renaming a class when using Visual Studio with Perforce

空扰寡人 提交于 2019-12-25 06:47:50
问题 (I am new to perforce and am trying to avoid getting myself into problems, I have hit problems doing this with other source code control systems) When I rename I class I need to Change the class name it’s self Get Visual Studio to Refactor all the code that uses the class Rename the file in the Visual Studio project Rename the file in Perforce Check the changes into perforce Then maybe merge the change from my working branch into the main branch What’s the best way to do the above with

git p4 depot-path error

泄露秘密 提交于 2019-12-25 05:23:18
问题 I have a problem setting up git with perforce using git-p4. After finishing all the steps from this excellent blog post: http://owenou.com/2011/03/23/git-up-perforce-with-git-p4.html, I try to add a new file/modify an existing file in the local git repository. When trying to rebase I get: $git-p4 rebase Traceback (most recent call last): File "/home/user/bin/git-p4", line 2362, in <module> main() File "/home/user/bin/git-p4", line 2357, in main if not cmd.run(args): File "/home/user/bin/git

Perforce Jenkins view mapping

前提是你 提交于 2019-12-25 04:47:19
问题 I have spent quite some time on P4 Jenkins plugin but have not been able to get it to work. My local root directory below, which is also my workspace root directory /home/abigail/p4/projects. My workspace name is admin_linux. Please see my attacked P4 & P4 Jenkins plugins snapshots. I suspect my workspace mapping //depot/... //admin_linux/... may not be quite right. After I try "build now" in Jenkins, I got this problem: Started by user gvisa Building in workspace /var/lib/jenkins/jobs/bword

Teamcity build agent VCS checkout mode , it says cannot connect to the X server

这一生的挚爱 提交于 2019-12-24 21:00:57
问题 In my teamcity it is working fine When I use the VCS checkout mode from the server But when I use the build agent it is not working when I run a build it says (failed in applying the patch and it says Cannot connect to the X server) . My build agent is a Linux machine . Here I run my build agent . I configured build agent for generating the War files which is working fine . But I choose to VCS check out mode at the teamcity Version Control settings and run the build I am getting this error

How to use p4tickets with p4python

本小妞迷上赌 提交于 2019-12-24 20:21:39
问题 There's a large number of examples of using your user/pass as credentials to connect to the p4 server using p4python, but very little describing how to use a p4ticket. It's unclear how to use a p4tickets file with p4python. 回答1: It turns out the perforce documentation is really, really precise. The documentation basically says that if the user isn't logged in, then you have to provide a password to login. The flip side of that coin is that if the user is logged in then no password is needed .

How to make a perforce branch with a different java package name?

自古美人都是妖i 提交于 2019-12-24 18:46:55
问题 My first instinct is to branch normally (using p4 integrate), and then use an IDE or sed script to change the package names. But this makes future integration from the trunk extremely painful. 回答1: The way you suggest would work just fine, and you should expect no troubles from Perforce. However, I can add the following suggestion - First do the integration followed by commit - and only as a second commit change the actual names. This would allow seeing the changes in the history much more

need equivalent python command for p4 describe

痴心易碎 提交于 2019-12-24 13:42:18
问题 I need equivalent for p4 describe #cl , in p4 python. However, running the same command p4.run_describe("#cl") using p4python. I get dict: [{'client': 'NonDev1408-Dev', 'digest': ['E41FFB100C73F7B443EE8DE7A0DD966C'], 'desc': 'Merging //ATTE/1507_SWP122 to OCX Main (//ATTE/1408-Dev)\n', 'type': ['text'], 'fileSize': ['33067'], 'status': 'submitted', 'rev': ['49'], 'depotFile': ['//ATTE/1408-Dev/cust/oms/bb/cord9src/src/main/java/amdocs/oms/cust/osact/foundation/NegotiateServiceConnection.java'