Ofirk Posted August 13, 2015 Report Share Posted August 13, 2015 Hello, I'm trying to use the "before checkin" trigger to validate the checkin source is a merge and not direct checkin to the main branch. I'm trying to read the "PLASTIC_PENDING_MERGE_LINKS" (see reference : https://www.plasticscm.com/documentation/triggers/plastic-scm-version-control-triggers-guide.shtml#Checkin) My problem is that the env. variable "PLASTIC_PENDING_MERGE_LINKS" returns empty value when the trigger is fired. I've noticed that when I do merge operation, new files are created in my workspace : (1) plastic.merges, (2) plastic.mergeschanges. The problem is that I use server trigger, while these files are on the client side. BTY, I'm using version 4.1.10.465 Q: 1) Can you help me figure out how to read the pending merge link information? 2) Is there an option to read client workspace information from the server side? 3) Is there a better solution in newer PlasticSCM releases? Thanks, Ofir. Link to comment Share on other sites More sharing options...
manu Posted August 14, 2015 Report Share Posted August 14, 2015 Hi Ofir! I'm sorry but you'll need to upgrade your Plastic SCM installation to 5.4 since that feature was integrated in the 5.4.16.652 version. Sorry for the inconveniences! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.