@oBFusCATed: Thanks, I'll look into that
@killerbot: That sounds cool. I'll try to list what I use - which may only be a subset of what most people use, but hey that a starting point. There is a free Perforce-download at:
http://www.perforce.com/perforce/download_eval.htmlImportant Perforce (p4) commandsThe only thing I am really really missing is "check out current file" which is
if this can be automatically done by "Replace in files ..." I would be laughing ! :-D
Often used Perforce (p4) commandsOur usual workflow is to only checkout in the IDE. I have even done a bit of Python programming in Eclipse which has a full blown Perforce integration, but I (and my colleagues) mostly use Perforce's own client (P4v) for the rest (submit, adding files, ...).
For IDE integratino you would need to know if a file is in source control or not. This can be done in different ways but I guess following should do the job:
p4 files *
//depot/main/development/baseline/source/CMakeLists.txt#17 - edit change 46261 (text)
CMakeLists.txt~ - no such file(s).
Often used commands would be:
sync Synchronize the client with its view of the depot
Above Syncs current dir and subdirs
add Open a new file to add it to the depot
edit Open an existing file for edit
delete Open an existing file to delete it from the depot
resolve Merge open files with other revisions or files
revert Discard changes from an opened file
submit Submit open files to the depot
And also:
change Create or edit a changelist description
diff Display diff of client file with depot file
diff2 Display diff of two depot files
filelog List revision history of files
Of course Perforce is capable of much more (about 85 commands) and we are only using the outmost basics.
If I can in any way help to test I would be very happy. Compiling is no problem (I guess) but I have never done GUI-programming...
Best regards
Peter