Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

p4 integ: File(s) not in client view

Tags:

perforce

I am trying to create a branch but keep getting:

File(s) not in client view.

error.

I am running this command:

p4 integ //depot/trunk/... //depot/branches/branchA/...

Not sure what's wrong here.

like image 407
Chebz Avatar asked Dec 03 '25 11:12

Chebz


1 Answers

In order to open files for branch, they need to be in your client view -- the "file(s) not in client view" error means they are not.

An alternate way to create a branch that does not require the files to be in your client view is the "p4 populate" command (which skips the usual workflow of open/submit and just creates the files instantaneously):

p4 populate -d "Creating branchA." //depot/trunk/... //depot/branches/branchA/...

Note that you will not be able to actually do much with this branch after it's been created (e.g. sync it, edit the files in it, etc) if it's not in your client view, so you'll probably want to add it to your view either way.

like image 121
Samwise Avatar answered Dec 05 '25 05:12

Samwise



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!