[p4] Tools menu question
SGross at sjm.com
Fri Oct 12 14:56:16 PDT 2007
I am learning a bit about how to set up custom tools in p4v. I wrote a
pretty simple tool that just echos the parameters it is given. The
command itself is "echo", and then I've tried a variety of different
parameters to see what happens.
I'm most interested in understanding the behavior of the %D parameter.
If I have a workspace directory (such as "/home/me/someDir") selected,
the tool output reads:
(1) This strikes me as pretty weird syntax. It mixes together a
workspace path (/home/me/someDir) with a p4-specific convention (the
"/..." suffix). Can someone explain a bit about the rationale for this
(2) What I really want is for the tool output to read:
"//depot/someDir/..." Assuming the workspace directory corresponds to a
real location in the depot, is there a way to make that work?
More information about the perforce-user