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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With