afittz Posted April 18, 2011 Report Share Posted April 18, 2011 I'm in the process of developing some triggers before we switch to Plastic SCM. One of the triggers I'm developing is the before-clientcheckin/after-clientcheckin and I want to make sure I'm correctly parsing the input. Is the input format the same as before-checkin/after-checkin with the exception that the path is within the workspace instead of a server path? (item_path#br:branch#rev_no;rev_id@rep:rep_name@repserver:server) Or is the input just the path of the file in the workspace? Thanks, Andrew Link to comment Share on other sites More sharing options...
Guest Posted April 18, 2011 Report Share Posted April 18, 2011 Hi, You'll need to use workspace paths in a client trigger and server paths in a server trigger. Best, Luis Link to comment Share on other sites More sharing options...
afittz Posted April 18, 2011 Author Report Share Posted April 18, 2011 Thanks for the quick response Luis, but I'm still unclear on the format of what is provided as the input to the trigger. Is it just the file name or is it everything mentioned on the server-side trigger (file name, revision number & repository)? Thanks, Andrew Link to comment Share on other sites More sharing options...
Guest Posted April 18, 2011 Report Share Posted April 18, 2011 Hi, Andrew: You're right; I've checked the documentation and it's not pretty clear at this point; we'll take this into account to improve this in the future. Regarding your question: you only need to specify item paths; it's not necessary to specify revision specifications in client triggers. So, - Server triggers: revision specifications. - Client triggers: paths. Best, Luis Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.