perforce

Perforce troubles “file not under client's root” error message

孤街醉人 提交于 2020-01-02 01:03:12
问题 I am adding a project to perforce via VS2010 but I keep getting this error 'file' not under client's root for all the files in the project. I can't seem to figure this out. Here is what I am doing: 1) Open VS2010 project which is not in perforce yet. 2) I select add the solotion to perforce (from File > Source Control > Add Solution menu). 3) I select a new workspace. It brings up the properties of the workspace. The root folder is default to c:\Users\My.Name. I change this to the folder

Find a string in Perforce file without syncing

前提是你 提交于 2020-01-01 11:33:14
问题 Not sure if this is possible or not, but I figured I'd ask to see if anyone knows. Is it possible to find a file containing a string in a Perforce repository? Specifically, is it possible to do so without syncing the entire repository to a local directory first? (It's quite large - I don't think I'd have room even if I deleted lots of stuff - that's what the archive servers are for anyhow.) There's any number of tools that can search through files in a local directory (I personally use Agent

Unable to integrate fully from main branch to feature branch, after backing out a previous messed-up integration

假装没事ソ 提交于 2020-01-01 10:15:17
问题 I am using the Perforce P4V client (version 2013.1/611291, dated 2013 March 20). I attempted to Merge/Integrate from the main branch to my feature branch. It had been a long time since I had done this, so a significant number of files were added to the changelist. I then resolved conflicting files that could not be merged automatically. I then submitted the changelist. After doing that, I discovered that some of the files had remained in a messy conflicting state. Exactly why is a mystery to

git-p4: fatal: git was built without support for git-p4 (NO_PYTHON=1)

我是研究僧i 提交于 2020-01-01 05:05:10
问题 I am trying to use git p4 on my Linux computer. But there seems to be a problem with git-p4 for some reason. When I run the git p4 command I get: fatal: git was built without support for git-p4 (NO_PYTHON=1) Any idea why this message is being displayed? Is there anyway I can fix it? I am using an Ubuntu distribution with Kernel version 3.11.0. Thank you in advance. 回答1: You could download the git-p4.py file and move it to the right directory: wget http://git.kernel.org/cgit/git/git.git/plain

Is there an easy way to revert an entire P4 changelist?

安稳与你 提交于 2020-01-01 04:17:11
问题 Let's say I checked in a changelist (in Perforce) with lots of files and I'd like to revert the entire changelist. Is there an easy way to "revert" the entire changelist in one fell swoop? Currently I do something like this for each file in the changelist: p4 sync //path/to/file#n (where "n" is the previous version of the file) cp file file#n p4 sync //path/to/file p4 edit //path/to/file cp file#n file rm file#n As you can imagine, this is quite cumbersome for a large changelist. 回答1: The

In Perforce on Unix, how do you add a directory that is a symbolic link?

穿精又带淫゛_ 提交于 2020-01-01 04:17:08
问题 I have created a symbolic link directory in Unix and I would like to add it to perforce. (this question relates to symlinks on Unix. Windows symbolic links can have very different behaviour from Unix.) ../blah/dir1 is the source directory, which contains files that are already in Perforce dir2 is the symlink to the source directory that I want to check in ln -s ../blah/dir1 dir2 If I right-click on "dir2" in the p4v GUI, it will add every file under ../blah/dir1 as a new file (even if these

How can I undo an Integration in Perforce, and still be able to redo it?

不想你离开。 提交于 2019-12-31 17:49:08
问题 I have a bad integration changelist in perforce. I want to back it out, and redo it more carefully (and possibly in smaller increments). I used Perforce's rollback command to revert to a previous version of the files, but when I attempted to redo the Integration, Perforce claimed there was nothing to be done. Apparently, rollback simply reverts the files, but does nothing about the associated integration-related metadata. So when I try to re-integrate, Perforce thinks "you already integrated

Changing workspace clobber option directly from Perforce command line

五迷三道 提交于 2019-12-30 09:38:12
问题 How to change perforce specs from command line? What I want to do is, i have a workspace whose clobber option is set to noclobber(default value). Now i want to change it to clobber. I know we can do it directly from p4v, but i dont want that. I also know that if we run 'p4 client' command in cmd, it will open P4CONFIG file in text editor, where we can change noclobber to clobber and save the file and its done, but i also dont want that too. Please tell me the specific command which directly

Online Perforce Repositories [closed]

非 Y 不嫁゛ 提交于 2019-12-30 08:09:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Is anyone aware of of anybody offering hosted perforce servers? It doesn't have to be free - but preferably not too expensive! My understanding of Perforce is that it's free to use for personal projects, which mine is. Currently I have a perforce server setup on the same machine as the code is on which doesn't

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

大城市里の小女人 提交于 2019-12-29 10:09:12
问题 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