I have created a new clientspec using the command :
p4 client abc;
abc is the name of my cs
Now I want to change the root of this cs.
Can somebody please tell that how can I change the root of this clientspec without explicitly modifying the client file.(i.e. by using some command).
And is there any option of mentioning the root path while creating or setting the client (through command line)?
Here are some tips:
When creating a client a new client spec, you can seed the Root field by using the -d global option, e.g.:
You can also pipe the output of ‘p4 client -o’ to ‘p4 client -i’ to create or modify a client spec without having to open an editor, e.g.:
The
p4 -dtrick won’t do anything to replace the Root field in an existing client spec, however. For that, you need an inline filter, something like this: