perforce

xcode prompt file is locked for editing doesn't remember Unlock choice after choosing “Do not show this message again”

人走茶凉 提交于 2019-12-06 04:39:26
If I start typing in a readonly file in Xcode for the first time, I get prompted with a dialog that basically says the file is locked for editing, and asks me if I want to unlock it. If I choose Unlock, I can continue editing the file. At one point, I got annoyed at this (as I will always want it to unlock), and so I clicked "Do not show this message again", with the expectation that it would remember my choice. However, while I no longer get prompted, it also does not unlock the files anymore - it seems the default without being prompted is always "Don't Unlock". Is there a way to

Migrating from SVN to Perforce — Tips? Experience?

本小妞迷上赌 提交于 2019-12-06 01:00:57
问题 We have a fairly large SVN repository which we are looking to migrate to perforce. We very much want to keep the ~20k revisions, the branches, etc, but in some initial tests the svn2p4 script that perforce provides wasn't able to replicate the full structure. Have people had success with this tool, or were there others that my google searching didn't turn up? Best practices and tips are welcome. 回答1: Vitalii Pokrovskii and Mark Fridrich created svn2p4, a perl script that will 'sync and replay

perforce client spec - making different depot paths map to the same client workspace path

前提是你 提交于 2019-12-06 00:33:39
I want to create a client with the following view: //depot/location1/main/... //myclient/main/... //depot/location2/main/... //myclient/main/... No files and directories are common between //depot/location1/main/..., and //depot/location2/main/... But when I do p4 sync, it only syncs from //depot/location2/main/... How can I make it sync from both locations? Use this //depot/location1/main/... //myclient/main/... +//depot/location2/main/... //myclient/main/... The plus does what you are looking for, it tells perforce to add the files from that depot location to an already defined workspace

Configuring Perforce scm into maven project to get latest changelist

南笙酒味 提交于 2019-12-06 00:15:57
问题 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

Local commits pushing to a central server

谁说我不能喝 提交于 2019-12-05 23:03:40
问题 At work we use perforce and are encouraged to make regular commits to it (something I am fine with). However, I'd like to run something like mercurial so I can locally commit stuff that is work in progress and doesn't necessarily compile/run and then from this do my regular commits to the central perforce server. My question here is kind of two-fold, first off, does anyone know how well Visual Studio would cope with multiple source control bindings (ideally I want everything to be as

How do I see if a branch contains a bug fix in Perforce?

Deadly 提交于 2019-12-05 20:42:43
问题 (I am a new perforce user, but have used lots of other source code control systems in the past.) We use a change list to check-in each bug fix; the change list comment includes the bug ID therefore it is easy to track when a bug fix has been checked into a branch. However I can’t see an easy way to find all branches a given bug fix has been merged into , or to find all bug fixes that have been merged into a given branch. As far as I can tell perforce does not track all the branches a change

How to keep BOM from removal from Perforce unicode files

本小妞迷上赌 提交于 2019-12-05 19:51:46
I have converted entire branch with .NET and SQL sources to UTF-8 with BOM , having their Perforce file type changed to Unicode in the same operation. (Encoding difference might sound confusing, but in Perforce, Unicode file type denotes UTF-8 file content.) But later I have found out that Perforce silently elliminates BOM marker from UTF-8 files. Is it possible to set Perforce to keep UTF-8 BOM markers in files of Unicode file type? I can't find it documented. Perforce server is switched to Unicode mode, connection encoding is UTF-8 no BOM (but changing it to UTF-8 with BOM doesn't make any

How to connect & perform Sync with Perforce on Mac

拟墨画扇 提交于 2019-12-05 19:32:31
I am trying to access perforce and perform Sync operation from command line on Mac machine OS x 10.8.5 Can any one tell me how to access perforce for command line. I have placed p4 client in /usr/bin directory, From Terminal when i execute command : P4 or p4 help, im getting below error message. Perforce client error: Connect to server failed; check $P4PORT. TCP connect to perforce:1666 failed. nodename not servname provided, or not known Step by step approach to set up Perforce, will be greatly appreciated Note: P4V gui version is working fine, I need to execute Sync command from Command line

Deleting new files after a p4 revert

女生的网名这么多〃 提交于 2019-12-05 17:16:04
问题 My workflow for testing my changes to our source code on a remote machine is the following: 1) On local machine: Shelve changes that I'd like to test 2) On remote machine (ssh): $ p4 revert //... $ p4 sync $ p4 unshelve -s <changelist number> $ ./run_test_scripts This seems to work fine when I've only made changes to files that already exists. If I've added new files these will be created during p4 unshelve , but not deleted during p4 revert . The documentation says that this is what p4

Value of using Git with ClearCase, AccuRev or Perforce? [closed]

旧巷老猫 提交于 2019-12-05 17:00:59
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am interested in the value (or lack thereof) of using a traditional SCM product (ClearCase, AccuRev, Perforce, etc.) along with Git