Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

P4 merge error, No target file(s) in both client and branch view

First of all, I have a stream root named "//streams/main". Then, I created a sub stream named "//streams/branchA" whose parent is "//streams/main". and I always worked on my own stream - branch A

Now, I want to do a down integration, from main to branch A. On my dev machine, I have synced my local client to latest version of branch A. Then, I input the following command (the command was generated by the dialog of P4, Merge/Integrate, I copied it out from log window of P4)

p4 merge -c 101005 -r -S //streams/BranchA -s //streams/BranchA/...@label_20130901

but, I got the error

Integration errors: No target file(s) in both client and branch view.

There are a total of 1 errors.

I don't know where I made a mistake, and how to fix it?

My dev machine is WIN8, P4 win client version is 2013 March 20.

like image 240
Orionpax Avatar asked Sep 02 '13 02:09

Orionpax


People also ask

How do you integrate with P4V?

To integrate files, you open them for integration, specifying source and target, then submit the changelist containing the open files. P4V performs three types of integration: Branching, which creates a new codeline or branch. For more information, see Creating Branches.


2 Answers

In my particular case, the following was the problem:

Using Perforce client (version: 2014 January 15) I was attempting to refresh a stream, from a parent stream.

When In the depot view, using Merge/integrate a fitler was added automatically on the filter tab, this was set to source filter, but the filer paths were that of the target, hence all files were filterd out.

Solutions are:

  • Remove the filter paths from the filter tab
  • Set the filter to target filter (asuming the paths are that of the target)

NB - This particular UI release appears to be somewhat unstable, as it has multiple problems, many to do with refreshing the UI or refreshing it's state and displaying correct menu options.

like image 157
Spacen Jasset Avatar answered Sep 22 '22 17:09

Spacen Jasset


Well you might want to look at this: Add new folder to depot in P4V client

Also I've found that if I do not have the parent folder in my view, it doesn't want to do the integration. For instance lets say that //streams is excluded as tree, but the subtree //streams/main is included - then you'll not be able to integrate it into new branch below //streams (you will not be able to integrate into //streams/branchA).

like image 41
Ykok Avatar answered Sep 18 '22 17:09

Ykok