I'm new to Perforce (but am fairly experienced with other systems, mostly SVN).
Now I'm trying to make a simple windows bat build script that needs to check in some build results (controversial to some, I know, but please try to ignore as it's a different discussion). I'm using p4 for this. The problem is that it seems I either:
- Use the same "client" as on other machines (the -c option). This will have a "root", which looks like it specifies the absolute path where the working copy goes locally. Seems rather "wtf?" to me...
- Interactively create a "client" for each machine (matching the local file system layout). The interactivity is obviously a deal-breaker for an automated script.
Can I somehow just use the current directory, like I can with SVN?
Is there a better option?