Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

P4v Integration error

I have created a new branch (N) from one of my code lines (A). Now I am trying to integrate some files from another codeline (B) having the same tree structure into my new branch.

I am using Integrate option from P4v GUI.Source branch is B and target branch N and using a branch spec to accomplish this.

While integrating I am in the workspace which has branch N in its view but branch B is not in view as it resides on another server.

I am continuously getting the following error Integration error - no target file(s) in branch view

I have searched on the net and seems a lot of people face this issue but haven't found any solutions. Please help.

like image 284
codarien Avatar asked Dec 14 '10 12:12

codarien


Video Answer


2 Answers

If you are using P4V, you can easily be misdirected by the GUI. In particular, if you right click somewhere to select "Merge/Integrate...", then the thing you've clicked on is going to be used as the target, EVEN IF YOU USE A BRANCH SPECIFICATION.

I puzzled over something very similar for ages, until I realised that I was clicking on branch B to start the merge, rather than clicking on branch N.

The GUI misdirection is that thing you clicked is originally shown as a target, but when you choose to use a branch specification, then that part of the dialogue disappears. It's still there on the "Filter" tab, but you've already forgotten about it because the GUI took it away...

like image 169
William Roberts Avatar answered Sep 25 '22 14:09

William Roberts


The issue was that B resided on another server and I did not have remote depot mapping on server containing A and N. Adding that mapping resolved the issue.

like image 23
codarien Avatar answered Sep 24 '22 14:09

codarien