Intellij IDEA 中使用 Perforce VCS 需要注意的问题

时间:2024-04-09 19:56:33

Intellij IDEA 中使用 Perforce VCS 需要注意的问题


* Version Control 中 Directory 路径必需是 Perforce workspace 路径,VCS 指定为 Perforce。若当前 Intellij IDEA Project 中存在其它版本控制的 Module ,单独对其它版本控制的 Module 配置 VCS。


Intellij IDEA 中使用 Perforce VCS 需要注意的问题


Intellij IDEA 中使用 Perforce VCS 需要注意的问题


* 注意,如果 IDEA Project 存在多个 Module 时,Version Control Directory 中可能是 Project 并非指定的 Perforce workspace 路径。此时,IDEA 会报错 “Perforce is offline: You can continue working and go online when the server is available”。但是不影响项目的提交。原因是因为第一个项目并非是 Perforce 项目(但 VCS Directory 指定的是整个 Project 都是 Perforce 项目)。因此,是有问题的 ... 如上图。


Intellij IDEA 中使用 Perforce VCS 需要注意的问题


* 按如上图配置 Perforce 参数信息

本文出自 “TONY - 小四 技术博客” 博客,请务必保留此出处http://tonycody.blog.51cto.com/8421818/1402721

转载于:https://my.oschina.net/tonycody/blog/289992