Jump to content


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

merge integration stream

  • Please log in to reply
4 replies to this topic

#1 Alex Yang

Alex Yang

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 September 2013 - 03:23 AM

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.

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 03 September 2013 - 06:01 AM

That merge command seems non-sensical to me: the '-s' flag is providing a source path for the integraton, but the source specified is the target!

Try this:

p4 merge -rS //streams/branchA

That will give you a merge from the head revision of the //streams/main. If you need to use the label then use:

p4 merge -rS //streams/branchA -s //streams/main/...@some_label


#3 rubpa

rubpa

    Newbie

  • Members
  • Pip
  • 2 posts
  • LocationIndia

Posted 17 August 2016 - 06:42 AM

I've a similar error and hence (re)using this old topic. Also, I'm very new to Perforce.

I've a main and dev (parent is main) stream in my depot. I've a main and dev workspace. I'm trying to copy the dev stream to main. I understand that p4 copy -S command copies from the specified stream to it's parent.

C:\main-workspace>p4 copy -S //depot/dev
No target file(s) in both client and branch view.


C:\dev-workspace>p4 copy -S //depot/dev
No target file(s) in both client and branch view.


I get the same error from P4V. I got the same error yesterday as well and I did a lot of variations in the command line and GUI to finally to the copy. Same error today, but what is the fundamental problem?

#4 P4Sam

P4Sam

    Advanced Member

  • Members
  • PipPipPip
  • 484 posts
  • LocationSan Francisco, CA

Posted 17 August 2016 - 04:37 PM

Could we see the stream specs for //depot/dev and //depot/main?

#5 rubpa

rubpa

    Newbie

  • Members
  • Pip
  • 2 posts
  • LocationIndia

Posted 18 August 2016 - 05:37 AM

main:

Stream: //depot/main

Update: 2016/08/16 08:50:07

Access: 2016/08/16 08:50:07

Owner:  xxxx

Name:   main

Parent: none

Type:   mainline

Description:
    Created by xxxx.

Options:     allsubmit unlocked notoparent nofromparent mergedown

Paths:
    share ...


dev:

Stream: //depot/dev

Update: 2016/08/16 09:47:06

Access: 2016/08/16 09:47:06

Owner:  xxxx

Name:   dev

Parent: //depot/main

Type:   development

Description:
    Created by xxxx.

Options:     allsubmit unlocked toparent fromparent mergedown

Paths:
    share ...







Also tagged with one or more of these keywords: merge, integration, stream

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users