vscode-perforce icon indicating copy to clipboard operation
vscode-perforce copied to clipboard

Doesn't recognize files on network drive on Windows

Open huili80 opened this issue 7 years ago • 3 comments

For example, when i tried to edit a file with pathname like \\network\workspace\a.txt, it somehow tries to p4 edit c:\network\workspace\a.txt then get an error complaining that the file is not under the workspace root which is \\network\workspace\.

huili80 avatar Feb 22 '18 19:02 huili80

Can you try to enable the realPath experimental setting ?

Add this in your user or workspace settings

"perforce.realpath": true,

stef-levesque avatar Feb 27 '18 16:02 stef-levesque

Tried. Didn't help. Still got the same errors.

huili80 avatar Feb 27 '18 16:02 huili80

Can you leverage AltRoots in the client spec to map the windows network drive? This is how the p4 client for windows or mac handles a unix based workspace.

atwok avatar Oct 10 '18 17:10 atwok