Is there a way to download a file from a perforce depot without using a client workspace? I know about:
p4 print -o local.file //perforce_depot/remote.file
but this does only work if the requested file is under the clients workspace. I'm looking for something that is only dependent on the user and his rights but not on a workspace...
Thanks!
Description. A Perforce client workspace is a set of files on a user's machine that mirror a subset of the files in the depot. More precisely, it is a named mapping of depot files to workspace files.
The p4 clean command takes the following actions when finding inconsistencies between files in a user's workspace and corresponding depot files: Files present in the workspace, but missing from the depot are deleted from the workspace.
In the Get Revision dialog, specify the desired revision and click Get Revision. To get the revisions or the previous revisions for files in a changelist, open the Submitted tab. This tab displays a list of submitted changelists, based on the filter criteria selected at the top of the tab.
Run p4web on your perforce server, and then you can use wget to get any file.
I have my build servers wget their initial kickoff build scripts, that avoids the chicken/egg problem of you need something to kick a build, but you want that something to be in perforce. The only thing not in perforce now is a 2 lines. A wget, and an exec.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With