Error when I add a new file using 'sd add' in source depot

968 Views Asked by At

I tried to add a new file using

sd add myfile.txt

But I get this error saying

myfile.txt - file(s) not in client view.

Can you please tell me how can I fix it?

1

There are 1 best solutions below

2
On BEST ANSWER

The general answer is that you need to edit the client view and/or root ("sd client") so that your local "myfile.txt" is mapped to the depot.

For a more specific answer I'd need to know:

  1. The full local path of myfile.txt
  2. The full depot path you want to add it to