How to get perforce root directory from command line? I tried p4 info , but I would prefer not to filter it to gain access to the root. I am sure there is a way, but I could not find it.
Is there a way to get the root in a context sensitive context? For example, if I have two workspaces with a hierarchy such as A /.../ script vs B /.../ script, I would expect the script to return either A or B depending on where it was run it.
perforce
thisisdog
source share